Applies to
All controls.
Description
Returns or sets the cursor to be used when a control has focus.
Usage
cursor = Get_Property (objectname,”CURSOR”)
existingCursor = Set_Property (objectname,”CURSOR”, cursorValue)
Remarks
Values passed in Set_Property():
Value | Description |
---|---|
cursorValue | The cursorValue parameter may be: |
1. A standard windows cursor. 2. A cursor file name. 3. A cursor resource in a DLL.
"A" - Arrow "H" - Hourglass "I" - I-Beam "C" - Cross "V" - Vertical Arrow "&" - Hand "S" - App Starting "?" - Help "N" - No "+" - Size All "\" - Size NWSE "/" - Size NESW "-" - Size WE "|" - Size NS
e.g ".\cursors\myCursor.cur"
e.g. "myreslib.dll#123" or "myreslib.dll#mycursor" |
Returns
Values returned by Get_Property and Set_Property
Value | Description |
---|---|
cursor | the Boolean status of the control’s rowshade. |
existingState | the Boolean status of the control’s rowshade, when Set_Property was run. |
See Also
Set_Property() function, Get_Property() function
Example
Declare function Get_Property, Set_Property /* This snippet of code will check the current SYSTEM cursor and if it is an Hourglass will change the cursor to an Arrow.*/ cursor = Get_Property("SYSTEM","CURSOR") if cursor _Eqc "H" then eCursor = Set_Property("SYSTEM","CURSOR","A") end