|
|
|
|
|
- Uppercase/Lowercase characters
- Current window
CurrentWin (Function) In french: FenEnCours Identifies the window currently in edit. Remark: The current window is the window in focus: this window is in input mode and its title bar is active.
ResFenEnCours = CurrentWin()
Syntax <Result>: Character string - Name of the window currently in edit,
- Alias of the window currently in edit (if this alias was specified when the window was opened).
Remarks Uppercase/Lowercase characters The window name can be written in uppercase or lowercase characters. The "~=" operator (loose equality) should be used to compare the window name returned by CurrentWin with a hard-coded window name. For example: IF CurrentWin() ~= "SaisieFenêtre" THEN
...
END
The <Result> of CurrentWin depends on the event where CurrentWin is called: | | Calling event | Result of CurrentWin. |
---|
The window gains focus | Name of the current window (window that gains focus). | The window loses focus | Name of the current window (window that loses focus). | Resizing the window | Name of the current window (window is resized). | Initializing the window | Empty string (""). | Global declarations | Name of the previous window (window where the child window will be opened). | Closing the window | Name of the current window (window that is closed). | Initializing the control | - Name of the previous window.
- An empty string ("") if there is no previous window.
|
To find out the window currently run, you have the ability to use the MyWindow keyword.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|