System Reference Summary : 3. System Classes : MenuItem Class
 
Share this page                  
MenuItem Class
MenuItem Attributes
Attribute
Data Type
Description
Inherited
From
AllBias
smallint
Sets the menu field's bias for all the frame modes (W)
MenuField
BgColor
integer
Specifies the background color of a field's bounding box (RW)
FieldObject
BottomInnerMargin
integer
Defines field margin in pixels between the bottom field border and data area (RW)
FieldObject
ClassName
varchar(32)
Gives the name of an object's actual type (as opposed to its declared type) (R)
Object
ClientData
Object
Provides a way to associate data with an object (RW)
Object
ClientText
varchar(2000)
Stores text values; allows information to be assigned to a field at runtime (RW)
FieldObject
ControlField
smallint
Determines if a field manipulates the user interface instead of the underlying data (RW)
FieldObject
CurBias
smallint
Specifies the field's current bias setting (RW)
MenuField
DataType
varchar(65)
Specifies the data type of the field's variable (RW1)
FieldObject
DefaultString
varchar(256)
Stores the default value that OpenROAD uses when the DefaultValue attribute is set to DV_STRING (RW1)
FieldObject
DefaultValue
smallint
Specifies the default value of the variable associated with the field (RW1)
FieldObject
EventExec
FrameExec
Specifies the frame (FrameExec) to which this field's events will be queued and processed (RW)
FieldObject
FgColor
integer
Controls the color of the field's foreground (RW)
FieldObject
FocusBehavior
smallint
Indicates the behavior of a menu item relative to the current input focus field (RW)
Defined
FullName
varchar(256)
Contains the expanded name of variable (R)
FieldObject
HasDataChanged
smallint
Indicates if any interactive changes were made to the data associated with the field (RW)
FieldObject
InstanceIdentifier
integer8
Contains a value that uniquely identifies an instance of an allocated object (R)
Object
InstanceReferences
integer
Contains the current number of references to the object (R)
Object
IsNullable
smallint
Is TRUE if the variable is nullable (RW1)
FieldObject
IsReverse
smallint
Is TRUE if reverse is on for a field's background and foreground colors (RW)
MenuField
LeftInnerMargin
integer
Defines field margin in pixels between the bottom field border and data area (RW)
FieldObject
Name
varchar(32)
Contains the name of the field object (RW1)
FieldObject
ParentMenuGroup
MenuGroup
Contains the parent menu for a menu item (RW1)
MenuField
QueryBias
smallint
Specifies the bias setting for the menu item when CurMode is set to FM_QUERY (RW)
MenuField
ReadBias
smallint
Specifies the bias setting for the menu item when CurMode is FM_READ (RW)
MenuField
RightInnerMargin
integer
Defines field margin in pixels between the right field border and data area (RW)
FieldObject
Script
StringObject
Contains the 4GL script associated with the field (RW)
FieldObject
StatusText
nvarchar(2000)
Specifies the text string displayed in the status bar of the window of the currently running frame when the menu field is displayed (RW)
MenuField
TaggedValues
array of TaggedValue
Defines an array of tagged values (R)
FieldObject
TopInnerMargin
integer
Defines field margin in pixels between the top field border and data area (RW)
FieldObject
UpdateBias
smallint
Specifies the bias setting for the menu item when CurMode is FM_UPDATE (RW)
MenuField
User1Bias
smallint
Specifies the bias setting for the menu item when CurMode is FM_USER1 (RW)
MenuField
User2Bias
smallint
Specifies the bias setting for the menu item when CurMode is FM_USER2 (RW)
MenuField
User3Bias
smallint
Specifies the bias setting for the menu item when CurMode is FM_USER3 (RW)
MenuField
WidgetID
integer
This is unsupported. Represents the menu field object's handle for the highest-level Windows control for the field. (R)
MenuField