3. System Classes : ButtonField Class : CompSource Class
 
Share this page                  
CompSource Class
CompSource Attributes
Attribute
Data Type
Description
Inherited
From
AlterBy
varchar(32)
Contains the name of the last person to alter the component (R)
Defined
AlterCount
integer
Contains the number of times the component has been altered since it was created (R)
Defined
AlterDate
date
Contains the date and time the component was last changed (R)
Defined
AssistantProc
varchar(32)
Specifies the name of an assistant procedure (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)
Defined
CreateDate
date
Contains the creation date and time for the component (R)
Defined
Creator
varchar(32)
Specifies the name of creator of component (R)
Defined
DataType
varchar(65)
Contains a string representing the data type associated with the return value of the component (use only for frame and procedure components) (RW1)
Defined
EntityID
integer
Contains the internal entity ID for the object (R)
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 return variable for the component can be set to null (applicable only to frame and procedure components) (RW1)
Defined
IsStale
smallint
Is TRUE if a component needs to be recompiled (RW)
Defined
Name
varchar(32)
Specifies the name of the component (RW1)
Defined
ObjectShortRemarks
varchar(60)
Contains the short remarks for base component (R)
Defined
ParentApplication
AppSource
Specifies the application to which the component belongs (RW)
Defined
Queries
array of QueryObject
Is an array of query objects associated with the currently running component (RW)
Defined
Script
StringObject
Contains the source code for the frame, procedure, or user class (RW)
Defined
VersionNumber
integer
Contains the version number of the component (R)
Defined
VersShortRemarks
varchar(60)
Contains the short remarks for this version of component (R)
Defined
 
CompSource Methods
Method
Return
Value
Description
Inherited From
Duplicate()
CompSource
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
ExportComp(filename = varchar(256)
[, format = integer]
[, metadata = integer])
integer
Exports a single procedure or frame to an export file. One format is XML with or without metadata.
Defined
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