psGroupName - cWebToolBar

Identifies the menu group for menu items that are provided by a menu group (cWebMenuGroup)

Type: Property (Web Property)

Access: Read/Write

Data Type: String

Parameters: None

Syntax
 { WebProperty=Client }
 Property String psGroupName

Web Property Read Access: WebGet psGroupName to StringVariable
Web Property Write Access: WebSet psGroupName to StringVariable/Value

Read Access: Get psGroupName to StringVariable
Write Access: Set psGroupName to StringVariable/Value


Description

By default, a menu bar will display the menu items from nested cWebMenuItem objects. However, the framework's menu system provides the flexibility to display menu items that are declared elsewhere in the application (i.e. not nested inside the cWebMenuBar or cWebMenuButton).

For example, by defining a cWebMenuGroup object with nested cWebMenuItem objects inside a view, those menu items will be added to the menu bar that has a matching group name whenever that view is displayed.

The default value for psGroupName for the cWebMenuGroup and cWebActionBar classes is "MainActions" and for the cWebMenuButton class it is "".

Normally, you would never need to set this value as most desktop style web applications would only contain one global menu bar and the default group name is sufficient.


About Web Properties
Each web property maintains two values: The regular property value is set during object creation and should not be changed during the lifetime of that object. To access that value, use the standard property Get and Set syntax.
The web property value is the local value stored at each client. This is synchronized to the client's local value whenever a server call is being processed. To access the web property value, use the WebGet and WebSet syntax above instead of the standard Get and Set syntax.