captionbutton GlyphDown property
Return to Introduction  Previous page  Next page
Applies to
acCaptionButton component and other components that uses TacCustomCaptionButton as ancestor class - acAppAutoRun, acTrayIcon, acFormHelp, acFormTopmost, acFormRoller.  

property GlyphDown: TBitmap; // 12x11 pixels optionally  

The GlyphDown property specifies the bitmap that appears on the selected CaptionButton in pressed state (when Down property is True or when the user clicks this caption button).  
If GlyphDown property is not specified (bitmap is empty), Glyph image will used for both button states (pressed and released). If Glyph image is not specified too, then will show the character, specified in Sign property to show it as button image.  
Use the Open dialog box that appears as an editor in the Object Inspector to choose a bitmap file (with a .BMP extension) to use on the button, or specify a bitmap image at run-time.  

iiwarning The size of bitmap usually does not matter because the component will stretch image so it exactly fits the bounds of the button, however, optionally, please use bitmap images with 12x11 pixels resolution.  

See also
AllowPress, Down, Glyph properties.  
OnPressed, OnReleased events.