|
|
|
| dcFolderEdit and dcFileEdit components.
|
| type
|
| TdcEditButton = class(TPersistent)
|
| published
|
| property Cursor: TCursor;
|
| property Flat: Boolean; // in Delphi 3 and later !!!
|
| property Glyph: TBitmap;
|
| property NumGlyphs: TNumGlyphs; // 1..4
|
| property Hint: String;
|
| property Width: Word;
|
| property Visible: Boolean; // False by default
|
| end;
|
| The dcFolderEdit component 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.
|
|
|
| For example, to specify caption for this button you may use following code:
|
| dcFolderEdit1.EditButton.Caption := 'Test';
|
| OnButtonClick event.
|