Download Print this page

Omron NS Reference Manual page 47

Hide thumbs Also See for NS:

Advertisement

Section2 Functions
NS series Macro Reference
RELEASEFOCUS
Applicable versions
Format
Function
Return Value
Example
Releases the input focus set for the object
System version 5 or higher
RELEASEFOCUS();
No argument is used.
If the input focus has been set for any of numeral display & input object or string
display & input object in the project, this macro will release the input focus.
-
If an object that the input focus has been set exists on the screen currently
displayed, the macro will release the input focus.
If the input focus is not set for any object on the screen currently displayed,
-
this macro will NOT work.
If the input focus has been set for the object created in the frame page
-
displayed as top, this macro will also release the focus.
-
If the input focus has been set for the object in the sheet, this macro will
release the focus.
RELEASEFOCUS macro will NOT work in the following execution timing.
-When Loading a Project
-When Loading a Screen
-When Unloading a Screen
-Before Inputting Numeral set using numeral display & input objects
-Before Writing Numeral set using numeral display & input objects
-Before Inputting String set using string display & input objects
-Before Writing String set using string display & input objects
None
In all cases that you want to release the input focus, set as the following example.
RELEASEFOCUS();
27

Advertisement

loading

This manual is also suitable for:

Ns-series