piLayoutBuild - cCJCommandBarSystem
Determines the build number of the commandbar system, which is used to determine if a layout can be restored
Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None
Syntax
Property Integer piLayoutBuild
| Access Type | Syntax |
|---|---|
| Read Access: | Get piLayoutBuild to IntegerVariable |
| Write Access: | Set piLayoutBuild to IntegerVariable/Value |
Description
piLayoutBuild determines the build number of the commandbar system. It is used to determine if a layout can be restored.
When commandbar system layouts are restored, the object first tries to determine if code changes have been made in the commandbar system. If it has, it will not restore the prior layout. It attempts to recognize when such a change has occurred by checking if the number of toolbars and cCJMenuItem items have changed. In some cases, changes made to the commandbar system will not be recognized and an old layout will be improperly applied. If this happens, you must tell the system that the menu layout has changed. You can do this by incrementing the build number of piLayoutBuild.
Normally, you will not have to deal with this. This need to change this build number is determined by the value of peRestoreLayout and the type of menu change you made. If new menu changes such as appearance, location or theme appear to be wrong, try incrementing this property.
The default value is 0.