treecombobox Button structure
Previous  Top  Next
Applies to
tcTreeComboBox component.  

  TacEditButton = class(TPersistent)  
    property Cursor: TCursor;  
    property Flat: Boolean; // in Delphi 3 and later !!!  
    property Glyph: TBitmap;  
    property NumGlyphs: TNumGlyphs; // 1..4  
    property HintString;  
    property Width: Word;  
    property Visible: Boolean; // False by default  

The tcTreeComboBox is able to have a custom button at the right edge of edit control. The Button structure intended for specify settings for this button. To make button visible on edit control — set Button.Visible to True.  
You can specify the glyph image and number of images, hint, cursor and width for button.  
tip The button which at the right of edit control is just usual TSpeedButton component. You can even gain direct access to all button's properties using hidden EditButton property.  
For example, to specify caption for this button you may use following code:  
  acTreeComboBox1.EditButton.Caption := 'Test';  

See also
OnButtonClick event.