Applies to
Menu objects
Description
Specifies whether to display the menu item as a large button or a small button.
The 2nd-level menu item can be displayed as a large button or a small button. The 3rd-level or 4th-level menu item can only be displayed as a small button.
0 – (Default) Displays as a small button.
1 – Displays as a large button.
Data type
Integer.
Usage
In a painter
To specify whether to display the menu item as a large button or a small button:
-
In the Menu painter, expand the menu in the treeview, and then select a sub-menu item.
-
Select a value from the ButtonImageSize drop-down list on the RibbonView tab page.
If you select a 2nd-level menu item, you can select Large or Small from the dropdown list; if you select a 3rd-level or 4th-level menu item, Small is automatically selected and cannot be changed.
In scripts
This statement displays the m_exit menu item as a large button:
m_exit.ButtonImageSize = 1
When ButtonImageSize property value is 1, large buttons display as follows:
When ButtonImageSize property value is 0, small buttons display as follows: