pbHideViewWhenNoAccess - cWebMenuItemLoadView
Determines whether a menu item is hidden or disabled when access is not allowed
Type: Property
Access: Read/Write
Data Type: Boolean
Parameters: None
Syntax
Property Boolean pbHideViewWhenNoAccess
| Access Type | Syntax |
|---|---|
| Read Access: | Get pbHideViewWhenNoAccess to BooleanVariable |
| Write Access: | Set pbHideViewWhenNoAccess to BooleanVariable/Value |
Description
If you wish to hide a menu item instead of disabling it, you can set the menu item's property to True. This causes it to change pbRender instead of pbEnabled. This makes the handling of view menu items mostly automatic.
See AllowAccess and OnChangeRights for more information.