2.245 .overridecursor
This attribute can set a temporary cursor globally for all loaded dialogs.
Definition
-
Data type
object [ cursor ]
-
Access
get, set
-
changed event
no
Note
The object messagebox ignores .overridecursor set at the setup object and always displays the cursor defined for this messagebox or the default cursor.
Example
When a button is pressed, the wait cursor should be set for all open windows of the current dialogs, except for the window in which the button is located. This is turned into a dialogbox to lock input into other windows.
on PbCompute select { this.window.dialogbox := true; this.window.ignorecursor := true; setup.overridecursor := CursorBusy; Compute(); setup.overridecursor := null; this.window.ignorecursor := false; this.window.dialogbox := false; }
See also
Attribut
Obje