version 6.0
SET MENU ITEM STYLE (menu; menuItem; itemStyle{; process})
Parameter | Type | Description | |
menu | Number | Menu number | |
menuItem | Number | Menu item number | |
itemStyle | Number | New menu item style | |
process | Number | Process reference number |
Description
The SET MENU ITEM STYLE command changes the font style of the menu item whose menu and item numbers are passed in menu and menuItem according to the font style passed in itemStyle.
If you omit the process parameter, SET MENU ITEM STYLE applies to the menu bar for the current process. Otherwise, SET MENU ITEM STYLE applies to the menu bar for the process whose reference number is passed in process.
You specify the font style of the item in the itemStyle parameter. You pass a combination (one or a sum) of the following predefined constants:
Constant | Type | Value |
Plain | Long Integer | 0 |
Bold | Long Integer | 1 |
Italic | Long Integer | 2 |
Underline | Long Integer | 4 |
Outline | Long Integer | 8 |
Shadow | Long Integer | 16 |
Condensed | Long Integer | 32 |
Extended | Long Integer | 64 |
Note: On Windows, only the styles Plain or a combination of Bold, Italic, and Underline are available.
See Also