4. System Classes : FrameExec Class
 
Share this page                  
FrameExec Class
The FrameExec class is an object representing a specific instantiation of a frame.
To access the FrameExec object from your 4GL code, you can use the CurFrame system variable anywhere within the frame script or any of the field scripts in the frame. The CurFrame system variable lets you:
Access information about the current state of the running frame, such as the current field on the form
Change the size of the window in which a frame is displayed
Change the background color of the window
Change the field on which to resume after some exit code has completed
You can also use the FrameExec object in conjunction with the openframe statement and the SendUserEvent method to communicate between concurrent open frames. For information about communicating between frames, and more information about referencing the FrameExec object, see the Programming Guide.
ReasonCode settings and system constant values are listed in ReasonCode Settings for FrameExec (see ReasonCode Settings for FrameExec).
Inherits From
Object Class (see Object Class)
ProcExec Class (see ProcExec Class)
GhostExec Class (see GhostExec Class)
Inherited By
None
Attributes
AutoUpdField
BgBitmap
BgColor
BgPattern
CurMode
DefaultButton
GridX
GridY
HasScrollBars
HasStatusBar
HeightConstrained
InputFocusField
IsAutoSized
IsBordered
IsClosable
IsGridOn
IsLassoActive
IsMaximizable
IsMaximized
IsMinimizable
IsPopup
IsResizeable
IsTitled
IsToolWindow
IsTopmost
NextTargetField
OriginatorField
PortletBlocking
PreviousField
ReasonCode
SelectedList
StartMenu
StatusText
TargetField
TopForm
TriggerField
WidgetID
WidthConstrained
WindowHeight
WindowPlacement
WindowTitle
WindowVisibility
WindowWidth
WindowXLeft
WindowYTop
XEnd
XStart
YEnd
YStart
Methods
Activate
BringToFront
FieldByName
SendToBack
SetWindowIcon
SnapToGrid
UpdBackground