The ExistsAsGroup() function in the syListViewCmdBarObj form verifies whether a specific command list exists as a group for the Action Pane of a list.
ExistsAsGroup(product_ID, list_ID, view_ID, ParentDictID, ParentFormID, ParentCmdID)
• product_ID – The ID of the dictionary that contains the list for which a command list is being queried.
• list_ID – An integer specifying the ID of the list for which a command list is being queried.
• view_ID – An integer specifying the view for which the command list is being queried. Use the constant LIST_PRIMARYVIEWID to indicate the primary view for the list.
• ParentDictID – The ID of the dictionary that contains the command list that is being queried. Use the constant DYNAMICS to specify that you querying a command list that is defined in the Microsoft Dynamics GP main dictionary.
• ParentFormID – The resource ID of the command form that contains the definition of the command list that is being queried.
• ParentCmdID – The resource ID of the command list that is being queried.
A boolean. The value true indicates the command list exists as a group for the list, while false indicates it does not.