SET MENU ITEM STYLE

4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next

version 6.0


SET MENU ITEM STYLE (menu; menuItem; itemStyle{; process})

ParameterTypeDescription
menuNumberMenu number
menuItemNumberMenu item number
itemStyleNumberNew menu item style
processNumberProcess 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:

ConstantTypeValue
PlainLong Integer0
BoldLong Integer1
ItalicLong Integer2
UnderlineLong Integer4
OutlineLong Integer8
ShadowLong Integer16
CondensedLong Integer32
ExtendedLong Integer64

Note: On Windows, only the styles Plain or a combination of Bold, Italic, and Underline are available.

See Also

Get menu item style.


4D - Documentation   Français   English   German   4th Dimension 2004, Command Theme List   4th Dimension 2004, Command Alphabetical List   4th Dimension 2004, Constant Theme List   Back   Previous   Next