Provides indexed access to the available mouse cursor shapes for the screen.
Source position: forms.pp line 1206
public property TScreen.Cursors[Index: Integer] : HCURSOR |
Cursors is an indexed HCURSOR property which provides access to the handle for a mouse cursor shape by its numeric value. The cursor constants (like crHourGlass) defined in the controls.pp unit can be used instead of the numeric value.
Cursors uses an internal TMap instance to store the handle values and provides access using the index values. When the value for the property is read, CreateStandardCursor in the widgetset class is called to retrieve the handle. If it has not been assigned, a temporary TCursorImage is created for the cursor resource and its handle is added to the internal map.
Setting a new value for the indexed property causes an existing handle in the internal map to be re-created.
|
Indicates the current mouse cursor shape. |
|
|
Gets the value for the Cursor property taking temporary cursors into account. |
|
|
Provides indexed access to the available mouse cursor shapes for the screen. |
CT Web help |
CodeTyphon Studio |