The List_GetIDsForCoreCommand procedure defined in the syListViewCmdBarObj form is used to retrieve the ID values for predefined commands and groups that can be displayed in the Action Pane for a list.
List_GetIDsForCoreCommand of form syListObj, list_type, action_ID, dict_ID, form_ID, command_ID
• list_type – An integer that specifies the type of list from which a core command is being retrieved. The value corresponds to one of the following constants:
Constant |
Description |
---|---|
LISTTYPE_CARD |
A card list. |
LISTTYPE_TRX |
A transaction list. |
• action_ID – A long integer specifying the item for which the ID information is being retrieved. The value corresponds to one of the following constants:
Constant |
Description |
---|---|
LISTRIBBONGROUP_USERDEF1 |
|
LISTRIBBONGROUP_USERDEF2 |
|
LISTACTION_EXPORTTOEXCEL |
|
LISTACTION_PRINTLIST |
|
LISTRIBBONGROUP_RESTRICT |
|
LISTACTION_LISTRESTRICT |
|
LISTACTION_DATERESTRICT |
• dict_ID – A returned integer containing the ID of the dictionary that defines the command.
• form_ID – A returned integer containing the resource ID of the form that defines the command.
• command_ID – A returned integer containing the ID of the command.