diff --git a/docs/xml/lcl/buttonpanel.xml b/docs/xml/lcl/buttonpanel.xml index 3a27d865ac..7066f657f8 100644 --- a/docs/xml/lcl/buttonpanel.xml +++ b/docs/xml/lcl/buttonpanel.xml @@ -118,6 +118,34 @@ + + Defines the default buttons displayed on a TButtonPanel instance. + +

+ DefShowButtons is a set constant which contains the default buttons displayed on a button panel instance. DefShowButtons provides the default value for the ShowButtons property in TCustomButtonPanel. +

+
+ + + + +
+ + + + Defines the default glyphs displayed for the buttons on a button panel instance. + + +

+ DefShowGlyphs is a set constant which contains the default glyphs displayed for the buttons on a button panel. DefShowGlyphs provides the default value for the ShowGlyphs property in TCustomButtonPanel. +

+
+ + + + +
+ Implements the buttons displayed for TButtonPanel. diff --git a/docs/xml/lcl/buttons.xml b/docs/xml/lcl/buttons.xml index 807cbc0b25..6e706dce2f 100644 --- a/docs/xml/lcl/buttons.xml +++ b/docs/xml/lcl/buttons.xml @@ -2729,7 +2729,7 @@ - + Address of the routine used to get default glyphs for TBitBtn instances.

GetDefaultBitBtnGlyph is a TGetDefaultBitBtnGlyph variable with the address for the routine used to get the default glyphs for TBitBtn instances in the application. @@ -2765,15 +2765,21 @@ end; Buttons.GetDefaultBitBtnGlyph := @GetCustomBitBtnGlyph; - + + + GetLCLDefaultBtnGlyph gets the LCL default button glyph for the specified button Kind. - - + + + + + + diff --git a/docs/xml/lcl/colorbox.xml b/docs/xml/lcl/colorbox.xml index 0b3719258b..3cd39813a5 100644 --- a/docs/xml/lcl/colorbox.xml +++ b/docs/xml/lcl/colorbox.xml @@ -371,10 +371,10 @@ PickCustomColor is used when cbCustomColor is included in the Style for the control and ItemIndex is set to 0. This position was reserved for a custom color when the list of colors was loaded for the Style settings in the control.

- PickCustomColor uses an existing value in ColorDialog when assigned, or creates the ColorDialog when needed. It executes the ColorDialog to get the color selection for the control. The custom color selection is stored as the first TColor value in the Items for the control. When a color is successfully selected using the dialog, the return value is set to True and the control is redrawn. + PickCustomColor uses an existing value in ColorDialog when assigned, or creates the ColorDialog when needed. It executes the ColorDialog to get the color selection for the control. The custom color selection is stored as the first TColor value in the Items for the control. When a color is successfully selected using the dialog, the return value is set to True and the control is redrawn.

- The color selection dialog is not displayed at design-time, and the return value is always set to False. + The color selection dialog is not displayed at design-time, and the return value is always set to False.

@@ -770,15 +770,29 @@ if iPos <> -1 then - - - + + Specifies an event handler signalled to get the available colors for a TColorListBox control. + + +

+ TLBGetColorsEvent is the type used to implement the OnGetColors property in TCustomColorListBox. +

+
+ + + + + + GetColorValues +
- + Object for the event notification. - + + TStrings instance where the available color captions and values captions are stored. + @@ -978,13 +992,13 @@ if iPos <> -1 then DoSelectionChange is an overridden method used to perform actions needed when the value in the ItemIndex property is changed.

- The User parameter indicates the origin of the change. When User is True, the change occurred due to user interaction with the control. When User is False, the change occurred when the ItemIndex property was updated by another method in the control. + The User parameter indicates the origin of the change. When User is True, the change occurred due to user interaction with the control. When User is False, the change occurred when the ItemIndex property was updated by another method in the control.

- When User is True, the Style property is examined to see if a custom color can be used in the Colors for the control. When Style includes the value cbCustomColor, and ItemIndex is set to 0, the PickCustomColor method is called to select a custom color using a color dialog. If a custom color was successfully selected, the TColor value in Colors for the ItemIndex is stored in the Selected property. + When User is True, the Style property is examined to see if a custom color can be used in the Colors for the control. When Style includes the value cbCustomColor, and ItemIndex is set to 0, the PickCustomColor method is called to select a custom color using a color dialog. If a custom color was successfully selected, the TColor value in Colors for the ItemIndex is stored in the Selected property.

- The color dialog is not displayed, and Selected is not updated when User is set to False. + The color dialog is not displayed, and Selected is not updated when User is set to False.

DoSelectionChange calls the inherited method prior to exit. @@ -1007,10 +1021,10 @@ if iPos <> -1 then PickCustomColor is used when cbCustomColor is included in the Style for the control and ItemIndex is set to 0. This position was reserved for a custom color when the list of colors was loaded for the Style settings in the control.

- PickCustomColor uses an existing value in ColorDialog when available, or creates and executes a TColorDialog to get the color selection for the control. The custom color selection is stored as the first TColor value in the Items for the control. When a color is successfully selected using the dialog, the return value is set to True and the control is redrawn. + PickCustomColor uses an existing value in ColorDialog when available, or creates and executes a TColorDialog to get the color selection for the control. The custom color selection is stored as the first TColor value in the Items for the control. When a color is successfully selected using the dialog, the return value is set to True and the control is redrawn.

- The color selection dialog is not displayed at design-time, and the return value is always set to False. + The color selection dialog is not displayed at design-time, and the return value is always set to False.