Returns the index of the top-most modal form in CustomFormsZOrdered.
Source position: forms.pp line 1224
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.6 | Generated 2026-02-20 | Home |