|
RAD Studio VCL Reference
|
Checks the return value from a modal form dialog and indicates whether the user selected Ok, Yes, Yes to All, or All.
function IsPositiveResult(const AModalResult: TModalResult): Boolean;
Boolean IsPositiveResult(const TModalResult AModalResult);
Call IsPositiveResult to check whether the user closed a modal form by indicating a "Yes" or "Ok" response. Pass the return value from the form's ShowModal method as the AModalResult argument. IsPositiveResult returns true if AModalResult is mrYes, mrOk, mrYesToAll or mrAll, false otherwise.
|
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
|
What do you think about this topic? Send feedback!
|