pbChildScopes - cWebContextMenu
Allows use of the same context menu for multiple menu items
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
{ WebProperty=Client }
Property Boolean pbChildScopes
| Access Type | Syntax |
|---|---|
| Read Access: | WebGet pbChildScopes to BooleanVariable |
| Write Access: | WebSet pbChildScopes to BooleanVariable/Value |
Description
A cWebContextMenu can normally only be used on one control at the time (see phoControl and psContextScopeName). In the case of for example C_WebUIContextListHead, this is needed as the bound cWebList could change the items in the menu. In all other cases it might be too much work if you want the same menu for multiple controls.
pbChildScopes allows accepting Context events from all (nested-)children of phoControl (or parent) of the Menu.
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.