Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Implementations of this method should return a list of classes that are implementing the SysComparable interface. The user can pick two of these classes in the comparison form.
Syntax
public List comparableList(SysCompareType _type)
Run On
Called
Parameters
- _type
Type: SysCompareType Enumeration
A SysCompareType::Text1 or SysCompareText2 enumeration value, depending on which combo box is being populated.
Return Value
Type: List Class
A list of classes that implement the SysComparable interface.
Remarks
In some cases, it can help to create shallow objects that are fully inflated when they are selected. This will minimize the wait time for the combo boxes to be populated.
This method will be invoked two times; one time for each combo box that is to be populated.
Examples
From Tutorial_CompareContextProvider.comparableList Method
public List comparableList(SysCompareType _type)
{
List list = new List(Types::Class);
CustTable custTable;
while select custTable
{
list.addEnd(Tutorial_Comparable::newCustTable(custTable));
}
return list;
}