>>-aCategoryDialog~Connect...(--id--,--fname--)----------------><
The Connect... methods connect data dialog items of certain types with the dialog object. The Connect... methods should be placed into the user-defined methods with the names of the categories defined in the InitCategories method. The Connect... methods are defined for the BaseDialog class. For more information, see BaseDialog Class.
The arguments are:
The ID of the dialog item
The name of the object attribute
The following example connects an entry line in the Movies page with the FIRSTNAME object attribute:
::method InitCategories self~catalog["names"] = .array~of("Movies",...) ... ::method Movies self~ConnectEntryLine(101, "FIRSTNAME")
Note: IDs for dialog elements need not be unique across all pages. However, IDs for buttons and list boxes that are connected to methods must be unique for the whole category dialog.