Returns the index of the top-most modal form in CustomFormsZOrdered.
Source position: forms.pp line 1222
The index for the form, or -1 if no modal form is active.
Visits the form instances in CustomFormsZOrdered to find the first TCustomForm instance with the value fsModal in its FormState property.
Returns -1 if a modal form is not found in the CustomFormsZOrdered property.
Called from the GetCurrentModalForm method.
| Version 4.4 | Generated 2025-11-08 | Home |