|
|
|
|
|
- Focus gain
- ScreenFirst, SetFocus and ReturnToCapture
- Error
- ReturnToCapture on a window
- ReturnToCapture on the current control
- Processes / Events executed when ReturnToCapture is called
- ReturnToCapture and END:
ReturnToCapture (Function) In french: RepriseSaisie
Not available
Stops the current process and forces the input in the specified control, window or page. // If no value was entered by the user in the control IF EDT_Edit1 = "" THEN // Display a message and position the user in edit on the control Error("Enter a value") ReturnToCapture(EDT_Edit1) END
Syntax
ReturnToCapture([<Element to use>])
<Element to use>: Control, window or page name Name of control, column or window that will gain focus (see Notes). If this parameter is not specified, the current control gains focus.To specify a control that belongs to a window other than the current window, <Element to handle> must be in the following format: <Window name>.<Control name>. Remarks Taking "focus" is represented in different ways: - Blinking cursor (or "Caret") for the edit controls.
- Dotted rectangle for the other types of controls (Button, List Box, Radio Button controls, etc.).
ScreenFirst, SetFocus and ReturnToCapture These functions have a different behavior: - ReturnToCapture 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.
A WLanguage error occurs if <Element to handle> does not correspond to a control in the current window or page. Business / UI classification: UI Code
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|