Language Reference Guide : System Classes : CursorBitmap Class : SysCursor Attribute
 
Share this page          
SysCursor Attribute
Data Type: integer
4GL Access: RW
The SysCursor attribute is used when the CursorBitmap object is to be associated with one of 13 system cursors.
For more information about the system cursors, and their corresponding system constants, see System Defined Cursors Settings.
The following example demonstrates how to assign a system cursor to a displayed FormField named cancel_button:
initialize()=
declare
    wait_cursor = CursorBitmap;
enddeclare
begin
    wait_cursor.SysCursor = SP_WAIT;
    field(cancel_button).cursor = wait_cursor;
end