Checks the return value from a modal form dialog and indicates whether the user selected All, Yes to All, or No to All.
function IsAnAllResult(const AModalResult: TModalResult): Boolean;
Boolean IsAnAllResult(const TModalResult AModalResult);
Controls
Call IsAnAllResult to check whether the user closed a modal form by indicating a response that applies to "all". Pass the return value from the form's ShowModal method as the AModalResult argument. IsAnAllResult returns true if AModalResult is mrAll, mrNoToAll, or mrYesToAll, false otherwise.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|