3. System Classes : ButtonField Class : GhostExec Class
 
Share this page                  
GhostExec Class
GhostExec Attributes
Attribute
Data Type
Description
Inherited From
BlocksFrames
smallint
Indicates whether all frames should be inactive while the current frame is running (RW)
ProcExec
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
DataEntryErrorHandler
ProcHandle
Contains the handle of a procedure that handles data entry errors (RW)
ProcExec
DBEvent
DBEventObject
Contains information about the database event currently being processed by a frame (R)
Defined
DBSession
DBSessionObject
Specifies the current database session of a frame or procedure (RW)
ProcExec
EventName
varchar(256)
Contains the mandatory value passed in the SendUserEvent method (R)
Defined
EventType
varchar(256)
Contains the name of the event type (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
MessageErrorCode
integer
When a frame receives a user event, this attribute contains an error code value (R)
Defined
MessageFloat
float
Contains the optional floating value passed in SendUserEvent method (R)
Defined
MessageInteger
integer
Contains the optional integer value passed in SendUserEvent method (R)
Defined
MessageObject
Object
Contains the optional object passed with the SendUserEvent method (R)
Defined
MessageVarchar
varchar(256)
Contains the optional varchar value passed in SendUserEvent method (R)
Defined
ObjectSource
Proc4GLSource
Contains the source description of a frame or procedure (R)
ProcExec
ParentFrame
ProcExec
Specifies the caller of this frame (can be set only in the with clause of the openframe statement) (RW1)
Defined
Queries
array of QueryObject
Is an array of query objects associated with the currently running procedure (RW)
ProcExec
Scope
Scope
Specifies the Scope object for the currently running frame or procedure represented by the ProcExec object (R)
ProcExec
 
GhostExec Methods
Method
Return
Value
Description
Inherited From
Beep()
none
Sounds the terminal bell once
ProcExec
ConfirmPopup
(messagetext =
varchar(256))
integer
Displays a confirm-style pop-up message box with messagetext as text
ProcExec
DeferConfigure()
none
Defers field configurations on the form that has invoked this method
ProcExec
Duplicate()
GhostExec
Makes a duplicate of the object, placing a reference to the new object in a reference variable
Object
FilePopup
(messagetext =
varchar(256),
reply = StringObject)
integer
Displays a file selection pop-up message box with messagetext as text, returning reply
ProcExec
Flush()
none
Refreshes the screen display
ProcExec
GetAttribute
(
attributename = byref(variable)
{,attributename = byref(variable)})
integer
Gets the values of any number of attributes for the object
Object
InfoPopup
(messagetext =
varchar(256)
[,messagetype = integer])
none
Displays a pop-up message box with messagetext as text and messagetype as style
ProcExec
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
PurgeDBEvent
(
[dbeventname = varchar(256)])
integer
Removes database events from a frame's queue
Defined
PurgeUserEvent
(
[dbeventname = varchar(256)])
integer
Removes named user events from the event queue
Defined
RegisterUserEvent
(dbeventname =
varchar(32))
none
Registers the frame to receive the specified user event from an external program
Defined
ReplyPopup
(messagetext =
varchar(256),
reply = StringObject)
integer
Displays a reply-style pop-up message box with messagetext as text that returns reply
ProcExec
SendUserEvent
(eventname =
varchar(256)
 [,parameter1 = datatype1]
 [,parameter2 = datatype2]
 [, ...]
[,messageobject = Object]
[,messageinteger = integer]
[,messagefloat = float]
[,messagevarchar = varchar(256)]
[,delay = float]
[,focusbehavior = integer]
[,errorevent = varchar(256)])
none
Sends a user event to a concurrently executing frame
Defined
SetAttribute
(
attributename = value
{,attributename = value})
integer
Sets any number of attributes for the object
Object
SetExitTrap()
integer
Flags the currently executing program line as a breakpoint for a subsequent exit call
ProcExec
Terminate()
none
Stops execution of a frame and all of its child frames (called with an openframe statement)
Defined
Trace
(text =
expression)
none
Prints a message to the standard output window (the window from which you started OpenROAD)
ProcExec
UnRegisterUserEvent
(
[eventname = varchar(32)])
none
Removes a frame's registration to receive a specified user event from an external program
Defined
WaitFor
(eventname =
varchar(256))
varchar(256)
Causes the executing frame to ignore all events from the user or other SendUserEvent methods until a specified event occurs
ProcExec