|
WebGet psGroupName to StringVariable |
WebSet psGroupName to StringVariable/Value |
Get psGroupName to StringVariable |
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.