Sign in Join
FPDoc Onlineexperiment

TDirectoryEdit.GetDialogResult function

Member of TDirectoryEditprotectedIn unit EditBtn

Gets the result from the specified dialog.

Declaration

pascal
function GetDialogResult(D: TCommonDialog): string; virtual

Arguments

D

Dialog examined in the method.

Function result

Directory name from the dialog.

Description

GetDialogResult is a String function used to get the result from the Select Directory dialog. The return value contains the value from the FileName property in the TSelectDirectoryDialog instance in D. The return value, when accepted in OnAcceptDirectory, is stored in the Directory property.

GetDialogResult is used in the implementation of the RunDialog method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.