RAD Studio VCL Reference
|
Converts a TModalResult value from a constant that refers to "all" to the corresponding simple constant.
function StripAllFromResult(const AModalResult: TModalResult): TModalResult;
TModalResult StripAllFromResult(const TModalResult AModalResult);
Call StripAllFromResult to remove the "all" interpretation from a TModalResult value. For example, after checking the result from a form's ShowModal method with the IsAnAllResult function, you can call StripAllFromResult to allow common code to process results that apply to a single selected item or all items.
StripAllFromResult makes the following conversions:
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|