|
|
|
|
|
- Focus gain
- ScreenFirst, SetFocus and SetFocusAndReturnToUserInput
- SetFocus on a Table control column
- SetFocus on the current control
- SetFocus on the last selected control
- Processes executed when SetFocus is called
SetFocus (Function) In french: DonneFocus Set focus: - to a control (in a window, in a page or in a frameset).
- a window.
SetFocus(Inscription.SAI_Saisie1)
ZR_Client = 2
SetFocus(ZR_Client.MonChamp)
Syntax
Setting the focus on a control in the current window or page Hide the details
SetFocus([<Control name>])
<Control name>: Optional control name Name of control (or column) that will gain focus (see "Remarks"). If this parameter is not specified, the current control gains focus. A WLanguage error occurs if <Control name> does not correspond to a control found in the current window or in the current page.
Remarks Focus gain Taking "focus" is represented in different ways: - Blinking cursor (or "Caret") for the edit controls.
- Dotted rectangle for the other types of controls (Buttons, List Boxes, Radio Buttons, etc.).
Please note Not all field types (e.g. "label" fields) can take focus. ScreenFirst, SetFocus and SetFocusAndReturnToUserInput These functions have a different behavior: - SetFocusAndReturnToUserInput stops the current process to force the input in the specified control.
- ScreenFirst defines which control will receive input focus (when the current code stops and input focus is set back to a control).
- SetFocus stops the current process, defines which control will receive input focus and resumes the current process.
Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|