3. System Classes : ButtonField Class : Class Class
 
Share this page                  
Class Class
Class Attributes
Attribute
Data Type
Description
Inherited
From
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
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
 
Class MethodsClassSource Class
Method
Return
Value
Description
Inherited From
Create()
refvariable
Creates an object of a specified class
Defined
Duplicate()
Class
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
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
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
ClassSource Attributes
 
 
Attribute
Data Type
Description
Inherited
From
AlterBy
varchar(32)
Contains the name of the last user to alter the component (R)
CompSource
AlterCount
integer
Contains the number of times the component has been altered since it was created (R)
CompSource
AlterDate
date
Contains the date and time the component was last changed(R)
CompSource
AssistantProc
varchar(32)
Specifies the name of an assistant procedure (RW)
CompSource
Attributes
array of AttributeObject
Contains the list of attributes associated with a user class (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
Compile_Errors
StringObject
Contains the listing of errors from the last time the frame, procedure, or user class was compiled (R)
CompSource
CreateDate
date
Contains the creation date and time for the component (R)
CompSource
Creator
varchar(32)
Contains the name of the component's creator (R)
CompSource
DataType
varchar(65)
Contains a string that represents the data type associated with the return value of the component (RW1)
CompSource
EntityID
integer
Contains the internal entity identifier (ID) for the object (R)
CompSource
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 return variable for the component can be set to null (RW1)
CompSource
IsStale
smallint
Is TRUE if a component needs to be recompiled (RW)
CompSource
Methods
array of MethodObject
Contains the list of methods associated with a user class (RW)
Defined
Name
varchar(32)
Specifies the name of the component (RW1)
CompSource
ObjectShortRemarks
varchar(60)
Contains the short remarks for the base component (R)
CompSource
ParentApplication
AppSource
Specifies the application to which the component belongs (RW)
CompSource
Queries
array of QueryObject
Is an array of query objects associated with the currently running component(RW)
CompSource
Script
StringObject
Contains the source code for the frame, procedure, or user class (RW)
CompSource
SuperClass
varchar(65)
Contains the name of a user class's immediate superclass (RW)
Defined
VersionNumber
integer
Contains the version number of the component (R)
CompSource
VersShortRemarks
varchar(60)
Contains the short remark for this version of the component (R)
CompSource
 
ClassSource Methods
Method
Return
Value
Description
Inherited From
CreateClass()
none
Creates a user class object from a ClassSource object describing the given user class
Defined
Duplicate()
ClassSource
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
ExportComp(filename = varchar(256))
integer
Exports a single procedure or frame to an export file
CompSource
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
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
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object