4. System Classes : MenuButton Class : IsPlain Attribute
 
Share this page                  
IsPlain Attribute
Data Type: smallint
4GL Access: RW
The IsPlain attribute is TRUE if both bold and italic are off for the menu item text label.
If you set IsPlain to TRUE, OpenROAD automatically sets IsItalic and IsBold to FALSE. If you query the IsPlain setting, it is TRUE only if both IsBold and IsItalic are FALSE.
If you set the TypeFace attribute to TF_MENUDEFAULT, or let it default to this value, OpenROAD does not allow you to set or obtain the value of the IsPlain attribute in your 4GL code. For the actual default menu font values for TF_MENUDEFAULT, see TypeFace Attribute (see TypeFace Attribute).