diff --git a/docs/xml/lcl/buttons.xml b/docs/xml/lcl/buttons.xml index 3cc61ad65a..9370e9f53e 100644 --- a/docs/xml/lcl/buttons.xml +++ b/docs/xml/lcl/buttons.xml @@ -783,9 +783,38 @@ Contains a reference to an existing list of images available for use in the Glyph property - +

+ ExternalImages is a TCustomImageList property with a list of images that can be used to set the glyph for the class instance. +

+

+ TButtonGlyph can use images that originate from one of several properties: Images, ExternalImages, or Glyph. Images is a cached imaged list which may be refreshed when the cached images are changed. ExternalImages is an image list explicitly assigned to the property which does not use the image cache. Glyph is the bitmap to use for the glyph, and can originate from an LCL resource. +

+

+ These image sources are used in the GetImageIndexAndEffect method to determine the image resolution and bitmap used for the glyph and the button state. +

+

+ Setting a new value for the property causes the Glyph property to be cleared, and the OnChange event handler is signalled. +

+

+ Setting a value for the Glyph or LCLGlyphName properties causes the image list in ExternalImages to be discarded. +

+

+ Use ExternalImageWidth to specify the width of the images in ExternalImages. +

+

+ Use ExternalImageIndex to specify the position in ExternalImages for the bitmap displayed as the button glyph. +

- + + + + + + + + + + @@ -1542,7 +1571,12 @@ A Button with a small image attached - Bit Button: a push button control on a toolbar causing a particular action to be executed. It often displays a glyph or small graphic to denote its function. +

+ TBitBtn is a TCustomBitBtn descendant which provides the interface used to display a button with a glyph (or image) and a caption. It performs an action when the button is clicked. +

+

+ TBitBtn sets the visibility for properties introduced in ancestor classes. +

How To Use Standard Controls @@ -1594,7 +1628,7 @@
- +

Gets caption as a text-string (GetText), or stores the new caption (SetText). Shows flag if caption is stored (IsCaptionStored). @@ -1615,6 +1649,9 @@ To keep things optimal, LCL implementations should always override RealGet/SetText. Get/SetTextBuf is only kept for compatibility.

+ + TControl.Caption +
@@ -1634,6 +1671,11 @@ + + + + +

Standard properties, which should be supported by all descendants.

@@ -2739,6 +2781,10 @@ + + + +

Standard properties, which should be supported by all descendants.