AddCategory

Examples


The AddCategory procedure of the syAreaPageXML form adds a category to the current content area of the Area Page. It also adds the commands from the specified command list to the category.

Syntax

AddCategory of form syAreaPageXML, XML_state, command_list, display_name, expanded

Parameters

XML_state – A composite parameter of the type AreaPageXMLState that is used to maintain state information for the Area Page.

command_list – The command list that contains the commands to be added to the category.

display_name – A string parameter that specifies the title displayed for the category.

expanded – A boolean that specifies whether the category is expanded. The value true specifies that it is, while false specifies that it is not.

Comments

The following illustration shows a category that is added to a content area for an Area Page for Microsoft Dynamics GP.

[spacer]


Documentation Feedback