FMX.Forms.TScreen.IndexFormOfObject
Delphi
function IndexFormOfObject(Obj: TFmxObject; VisibleOnly: Boolean = True): integer;
C++
int __fastcall IndexFormOfObject(Fmx::Types::TFmxObject* Obj, bool VisibleOnly = true);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TScreen |
Description
Returns the index of the form that corresponds to the passed Obj
object.
The VisibleOnly
parameter specifies whether the form should be visible or invisible at the time the internal checking is done.