GUIBuilder: Functions for Setting Screen Focus (Superseded)
GUIBuilder has been superseded by the AppBuilder module in the BASIS IDE for BBj. Includes support for both the READRECORD Event Queue and PROCESS_EVENTS/CALLBACK paradigm. Integrates tightly with FormBuilder, the BBj replacement for ResBuilder.
Description
These functions are used to set input focus to a particular window/screen, and optionally to a particular control.
Set Focus to a Given Window ID.
Syntax
fngb__focus_win_id
Usage
gb__context=fngb__focus_win_id(gb__win_id$)
Description
This function sets focus to a given window ID.
Set Focus to A Given Window ID and Control ID
Syntax
fngb__focus_ctl_id
Usage
gb__context=fngb__focus_ctl_id(gb__win_id$,gb__ctl_id)
Description
Sets focus to a given window ID and control ID.
Set Focus to A Given Window ID and Control Name
Syntax
fngb__focus_ctl_name
Usage
gb__context=fngb__focus_ctl_name(gb__win_id$,"Push_Me")
Description
Sets focus to a given window ID and control name.