[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'EditBtn' (#lcl)

TDirectoryEdit

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

TDirectoryEdit - an EditBox to hold a directory name, with an attached SpeedButton that will summon a Directory Open dialog

Declaration

Source position: editbtn.pas line 243

type TDirectoryEdit = class(TCustomEditButton)

protected

  function GetDefaultGlyph; override;

  function GetDefaultGlyphName; override;

  function CreateDialog; virtual;

  

CreateDialog - create the Directory Open dialog

  function GetDialogResult(); virtual;

  

GetDialogResult - find the result of the Directory Open dialog

  procedure DoButtonClick(); override;

  

  procedure RunDialog; virtual;

  

RunDialog - perform the function of the dialog

published

  property Directory: String; [rw]

  

The Directory selected by the dialog

  property RootDir: String; [rw]

  

RootDir - the root directory for searching

  property OnAcceptDirectory: TAcceptFileNameEvent; [rw]

  

OnAcceptDirectory - event handler for accepting the name of a directory

  property DialogTitle: String; [rw]

  

DialogTitle - the title that appears on the Select Directory dialog

  property ShowHidden: Boolean; [rw]

  

ShowHidden - if True, display names of hidden directories

  property ButtonWidth;

  

  property DirectInput;

  

  property ButtonOnlyWhenFocused;

  

  property NumGlyphs;

  

  property Flat;

  

  property Align;

  

  property Anchors;

  

  property AutoSize;

  

  property AutoSelect;

  property BorderSpacing;

  

  property Color;

  

  property Ctl3D;

  

  property DragCursor;

  

  property DragMode;

  

  property Enabled;

  

  property Font;

  

  property MaxLength;

  

  property ParentColor;

  

  property ParentCtl3D;

  

  property ParentFont;

  

  property ParentShowHint;

  

  property PopupMenu;

  

  property ReadOnly;

  

  property ShowHint;

  

  property TabOrder;

  

  property TabStop;

  

  property Visible;

  

  property OnChange;

  

  property OnClick;

  

  property OnDblClick;

  

  property OnDragDrop;

  

  property OnDragOver;

  

  property OnEditingDone;

  property OnEndDrag;

  

  property OnEnter;

  

  property OnExit;

  

  property OnKeyDown;

  

  property OnKeyPress;

  

  property OnKeyUp;

  

  property OnMouseDown;

  

  property OnMouseMove;

  

  property OnMouseUp;

  

  property OnStartDrag;

  

  property OnUTF8KeyPress;

end;

Inheritance

TDirectoryEdit

  

TDirectoryEdit - an EditBox to hold a directory name, with an attached SpeedButton that will summon a Directory Open dialog

|

TCustomEditButton

  

TCustomEditButton - base class for TEditButton, an Edit Box with attached Speed Button

|

TCustomEdit

?

TObject

See also

Directory Select Dialog

  

TDirSelDlg - a dialog for selecting a directory from a TreeView list

TSelectDirectoryDialog

  

Select Directory Dialog