| Class TPathDialog (unit PathDialog) |
TComponent
| Constructors |
| Functions |
function Execute:Boolean;
function setOKButton(enabled:Boolean):Boolean;
function getVisible:Boolean;
procedure SetDirectory(Dir:String);
procedure SetStatusText(Text:String);| Properties |
property Directory : String
property ShowStatus : Boolean
property StatusText : String
property Tag :
property Title : String
property Handle : THandle
property visible : Boolean| Events |
event OnSelect : TSelectEvent
event OnShow : TNotifyEvent| Variables |
FDirectory : String;
FHandle : THandle;
FOnSelect : TSelectEvent;
FOnShow : TNotifyEvent;
FShowStatus : Boolean;
FStatusText : String;
FTitle : String;| Constructors |
| Functions |
function Execute:Boolean;Shows the dialog. Returns false if the user clicked Cancel } { or if an error occurred
lpParam is a pointer to the item identifier list for the newly selected folder.
function setOKButton(enabled:Boolean):Boolean;Sets the status of the OK-Button to either enabled or disabled } { This function should only be called in one of the 2 Eventhandlers
function getVisible:Boolean;
procedure SetDirectory(Dir:String);
procedure SetStatusText(Text:String);| Properties |
property Directory : Stringis not valid while the Dialog is visible
property ShowStatus : Booleanmust be set before executing the dialog
property StatusText : Stringis only used if ShowStatus is true
property Tag :
property Title : Stringshould be set before calling Execute
property Handle : THandleWindow Handle of the dialog is only valid when visible } { ...should not be used...
property visible : Booleanwhether the dialog is visible
| Events |
event OnSelect : TSelectEvent
event OnShow : TNotifyEventEvents
| Variables |
FDirectory : String;
FHandle : THandle;
FOnSelect : TSelectEvent;
FOnShow : TNotifyEvent;
FShowStatus : Boolean;
FStatusText : String;
FTitle : String;