RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCommonDialogAction.ExecuteResult Property

Indicates the result of executing the associated dialog.

Pascal
property ExecuteResult: Boolean;
C++
__property Boolean ExecuteResult;

When the dialog action fires, it executes the dialog specified by the CommonDialog property and sets ExecuteResult the value returned by that dialog's Execute method. Thus, ExecuteResult is false if the dialog has not executed or the user canceled when the dialog executed, and true if the user exited the dialog by clicking OK. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!