List_GetIDsForCoreCommand

Examples


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.

Syntax

List_GetIDsForCoreCommand of form syListObj, list_type, action_ID, dict_ID, form_ID, command_ID

Parameters

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:

[spacer]

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:

[spacer]

Constant

Description

LISTRIBBONGROUP_USERDEF1

The first user-defined group for the list.

LISTRIBBONGROUP_USERDEF2

The second user-defined group for the list.

LISTACTION_EXPORTTOEXCEL

The action to export to Microsoft Excel.

LISTACTION_PRINTLIST

The action to print the list content.

LISTRIBBONGROUP_RESTRICT

The Restrictions group for the list.

LISTACTION_LISTRESTRICT

The restriction drop-list for the list.

LISTACTION_DATERESTRICT

The date restriction drop-list for the list.


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.


Documentation Feedback