Functions for Setting Screen Focus

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.