FMX.Forms.TScreen.IndexFormOfObject
Delphi
function IndexFormOfObject(const AObject: TFmxObject; const VisibleOnly: Boolean = True): Integer;
C++
int __fastcall IndexFormOfObject(Fmx::Types::TFmxObject* const AObject, const 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.