Cursor Class |
|
Namespace: VO
The Cursor type exposes the following members.
| Name | Description | |
|---|---|---|
| Position |
A point—in owner window canvas coordinates—representing the current position of the cursor.
|
| Name | Description | |
|---|---|---|
| Destroy |
Provide a method to de-instantiate a Cursor object.
(Overrides Destroy.) | |
| Handle |
Return the handle for a cursor.
| |
| Hide |
Hide a cursor so it is not visible (until a subsequent call to Cursor:Show()).
| |
| Show |
Display a cursor so it is visible.
|
| Not applicable for DialogWindows or DataWindows. Tip: In X#, the Cursor class corresponds to a text cursor; use class Pointer to create mouse cursors. |
1METHOD FocusChange(oEvent) CLASS MyWindow 2IF oEvent:GotFocus 3oCursorText := Cursor{SELF,Dimension{20,20}} 4oCursorText:Position := Point{40,40} 5oCursorText:Show() 6... 7ENDIF