3. System Classes : ButtonField Class : MenuStack Class
 
Share this page                  
MenuStack Class
MenuStack 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
ChildMenuFields
array of MenuField
Contains a set of submenu items for this menu (RW1)
MenuGroup
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
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
integer
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
IsBold
smallint
Is TRUE if the menu item text label is bold (RW)
MenuGroup
IsItalic
smallint
Is TRUE if the menu item text label is italic (RW)
MenuGroup
IsNullable
smallint
Is TRUE if the variable is nullable (RW1)
FieldObject
IsPlain
smallint
Is TRUE if bold and italics are off (RW)
MenuGroup
IsReverse
smallint
Is TRUE if reverse is on for a field's background and foreground colors (RW)
MenuField
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
Script
StringObject
Contains the 4GL script associated with the field (RW)
FieldObject
StatusText
varchar(100)
OpenROAD 6.2: varchar(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
TextLabel
varchar(256)
Specifies the text label for the menu item (RW)
MenuGroup
TypeFace
integer
Specifies the typeface for the menu item (RW)
MenuGroup
TypeSize
smallint
Specifies the point size of the typeface (RW)
MenuGroup
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
 
MenuStack Methods
Method
Return
Value
Description
Inherited From
Duplicate()
MenuStack
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
FieldByName
(name =
varchar(256))
MenuField
Finds a menu field object that matches the specified name
MenuGroup
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
GetFieldValue
(value = byref(
variable))
integer
Gets the current value of a field
FieldObject
IsA
(class =
classname)
integer
Returns TRUE if the object is of the same class as, or one of the subclasses of, the class specified by classname
Object
IsDescendantOf
(ancestor =
FieldObject)
smallint
Is TRUE if the field object is a descendant at any level of the specified ancestor
FieldObject
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
SetFieldValue
(value =
value)
integer
Sets the value of a field
FieldObject
SetToDefault()
none
Sets the menu field to its default value and clears HasDataChanged
MenuField
UpdMenu()
none
Refreshes the display to reflect changes to menu items
MenuGroup
WhichTableField()
TableField
Determines which table field contains the field that triggered this method
FieldObject