From f4daa8fde97f312f5b0d230698545dc7d725b19d Mon Sep 17 00:00:00 2001
From: dsiders
- Create sets the assocaited control for the class instance and the Kind property to the values specified in the AControl and AKind arguments. Create sets the default values for properties, including: + Create sets the associated control for the class instance and the Kind property to the values specified in the AControl and AKind arguments. Create sets the default values for properties, including:
- IsScrollBarVisible is a Boolean function used to determine if the scroll bar for the associatied control is visible. The return value defaults to the value in the Visible property. If the handle has been allocated for the control, the GetScrollbarVisible routine from the LCL interface is used to get the visiblity for the scroll bar Kind. + IsScrollBarVisible is a Boolean function used to determine if the scroll bar for the associated control is visible. The return value defaults to the value in the Visible property. If the handle has been allocated for the control, the GetScrollbarVisible routine from the LCL interface is used to get the visibility for the scroll bar Kind.
IsScrollBarVisible is used in the implementation of the ClientSizeWithBar and ClientSizeWithoutBar methods.
@@ -5787,7 +5787,7 @@
- BeginTempCursor is a method used to change the cursor shape to the temporary cursor in the ACursor argument. It adds the value in ACursor to an internal list of temporary cursors. The cursor shape is removed when the EndTempCursor method is called.
+ BeginTempCursor is a method used to change the mouse cursor shape to the temporary cursor in the ACursor argument. It adds the value in ACursor to an internal list of temporary cursors. The cursor shape is removed when the EndTempCursor method is called.
- BeginTempCursor calls SetCursor in the widgetset class to change the cursor shape to the value in Cursors stored at the index in ACursor.
+ BeginTempCursor calls SetCursor in the widgetset class to change the mouse cursor shape to the value in Cursors stored at the index in ACursor.
- Use EndTempCursor to remove a given cursor shape, and restore the cursor to a previous value.
+ Use EndTempCursor to remove a given cursor shape, and restore the mouse cursor to a previous value.
EndTempCursor is a method used to release the temporary cursor shape in ACursor. It removes the value from the internal list of temporary cursors updated in the BeginTempCursor method. Only the cursor shape in ACursor is removed from the list; other values are left intact.
@@ -8140,7 +8145,7 @@ HintWindow.ActivateHint(Rect, 'This is the hint');
An Exception is raised with the message 'Unbalanced BeginTempCursor/EndTempCursor calls for cursor' if ACursor is not found in the list of temporary cursors.
- Use BeginTempCursor to display and store a temporary cursor shape.
+ Use BeginTempCursor to display and store a temporary mouse cursor shape.
- Calls EndTempCursor to remove the crHourGlass cursor shape. + Calls EndTempCursor to remove the crHourGlass mouse cursor shape.
+ Calls the BeginTempCursor method using the mouse cursor shape currently assigned to the internal member for the screen. +
++ Use EndScreenCursor to revert the mouse cursor shape to the value on entry to the method. +
++ Calls the EndTempCursor method to remove the current mouse cursor shape from the internal list of cursors. The most recent cursor shape in the internal list is restored when it differs from the value assigned to Cursor. +
++ Use BeginScreenCursor to make the value in Cursor the current cursor shape for the screen. +
+
- Cursor is a TCursor property which identifies the current cursor shape drawn on the screen. The numeric value is the HCURSOR handle for the image drawn as the cursor shape. Cursor constants (like crHourGlass) defined in the
Cursor is used as an index into the values in the Cursors property where the handle for the TCursorImage resources are stored. Changing the value for the property causes the SetCursor method in the widgetset class to be called to apply the handle in Cursors at the position in Cursor.
@@ -8270,10 +8318,10 @@ HintWindow.ActivateHint(Rect, 'This is the hint');
- Cursors is an indexed HCURSOR property which provides access to the handle for a cursor shape by its numeric value. The cursor constants (like crHourGlass) defined in the
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.