3. System Classes : ButtonField Class : FieldObject Class
 
Share this page                  
FieldObject Class
FieldObject Attributes
Attribute
Data Type
Description
Inherited
From
BgColor
integer
Specifies the background color of a field's bounding box (RW)
Defined
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)
Defined
ControlField
smallint
Determines if a field manipulates the user interface instead of the underlying data (RW)
Defined
DataType
varchar(65)
Specifies the data type of the field's variable (RW1)
Defined
DefaultString
varchar(256)
Stores the default value that OpenROAD uses when the DefaultValue attribute is set to DV_STRING (RW1)
Defined
DefaultValue
smallint
Specifies the default value of the variable associated with the field (RW1)
Defined
FgColor
integer
Controls the color of the field's foreground (RW)
Defined
FullName
varchar(256)
Contains the expanded name of variable (R)
Defined
HasDataChanged
smallint
Indicates if any interactive changes were made to the data associated with the field (RW)
Defined
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
IsNullable
smallint
Is TRUE if the variable is nullable (RW1)
Defined
Name
varchar(32)
Contains the name of the field object (RW1)
Defined
ParentExec
FrameExec
Specifies the FrameExec that contains the event scripts (On MouseEnter, On Click, and so on) for the field (RW)
Defined
Script
StringObject
Contains the 4GL script associated with the field (RW)
Defined
 
FieldObject Methods
Method
Return
Value
Description
Inherited From
Duplicate()
FieldObject
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
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
Defined
IsA
(class =
classname)
integer
Is 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
Defined
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
Defined
UpdValue()
integer
Loads the internal memory area that stores a field's value with the value contained with the visual representation of the value
Defined
WhichTableField()
TableField
Determines which table field contains the field that triggered this method
Defined