FMX.UI
Unit FMX.UI.pasClasses
- TGorillaObject = class ( TInterfacedObject , IGorillaObject )
- TUIThread = class ( TThread )
- TUI = class ( TObject )
Interfaces
- interface IGorillaObject
IGorillaObject
Methods
Properties
TGorillaObject
Ancestors
Implements Interfaces
- IGorillaObject
Members
Fields
Methods
- public constructor Create ( ) ;
- public destructor Destroy ( ) ;
- protected function GetRefCount ( ) : Integer ;
- public function AsObject ( ) : TGorillaObject ;
- public function GetValue ( const AKey : string ) : TValue ;
- public procedure SetValue ( const AKey : string; const AValue : TValue ) ;
- public function ToJSON ( ) : string ;
Properties
TUIThread
Ancestors
Members
TUI
GorillaScript Helper Class to interact with firemonkey applications.
Ancestors
Members
Fields
Methods
- class private procedure Create@ ( ) ; class constructor noself;
- class private procedure Destroy@ ( ) ; class destructor noself;
- public function GetMainForm
(
)
: TForm
;
class;
Returns the current firemonkey application main formular.
- public procedure ProcessMessages
(
)
;
class;
Use this method to create a running application loop on top of a delphi firemonkey application.
- public procedure Start
(
)
;
class;
Starts the UIThread for async GUI updates.
- public function Running
(
)
: Boolean
;
class;
Returns if the GorillaScript executor is still running.
- public procedure Terminate
(
)
;
class;
Terminates the GorillaScript UI loop. Running() will return FALSE.
- public procedure ShowMessage
(
const
AMessage :
string
)
;
class;
Shows the default platform message dialog.
- public procedure ShowWarning
(
const
AMessage :
string
)
;
class;
Shows a default platform warning message dialog.
- public procedure ShowInfo
(
const
AMessage :
string
)
;
class;
Shows a default platform information message dialog.
- public procedure ShowError
(
const
AMessage :
string
)
;
class;
Shows a default platform error message dialog.
- public function ShowConfirmation
(
const
AMessage :
string
)
: Integer
;
class;
Shows a default platform confirmation dialog with a yes / no option.
- public function GetNewObject
(
)
: IGorillaObject
;
class;
Returns a new TGorillaObject instance as IGorillaObject interface with automatic reference count. No need to destroy this instance.