FGX.Application.TfgApplication: различия между версиями

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
(Метка: замена)
Строка 4: Строка 4:
  
 
<syntaxhighlight lang="Delphi">TfgApplication = class (TComponent, IInterfaceComponentReference, IInterface)</syntaxhighlight>
 
<syntaxhighlight lang="Delphi">TfgApplication = class (TComponent, IInterfaceComponentReference, IInterface)</syntaxhighlight>
 
== Описание ==
 
 
Описание отсутствует.
 
 
== Конструкторы ==
 
 
{| class="wikitable sortable"
 
|-
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create(AOwner: [[TComponent]])</code>
 
 
|}
 
 
== Методы ==
 
 
{| class="wikitable sortable"
 
|-
 
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">Initialize()</code>
 
Стартовая инициализация.
 
|-
 
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">Run()</code>
 
Запуск приложения.
 
|-
 
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">CreateForm(const AInstanceClass: [[TComponentClass]]; var AReference)</code>
 
 
|-
 
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">OpenURL(const AUrl: [[string]]): [[Boolean]]</code>
 
Открывает ресурс по указанному урлу в соответствующем приложении.
 
|}
 
 
== Свойства ==
 
 
{| class="wikitable sortable"
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>Info: [[FGX.Application.Info.TfgApplicationInfo|TfgApplicationInfo]]</code>
 
Информация о приложении.
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>SupportedOrientations: [[.TfgInterfaceOrientations|TfgInterfaceOrientations]]</code>
 
Поддерживаемые типы ориентации приложения. Влияют на возможность поворота устройства и смену ориентации приложения.
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>WindowMode: [[.TfgWindowMode|TfgWindowMode]]</code>
 
Режим отображения приложения на экране устройства. Описание значений смотреть в Режим отображения приложения на экране устройства. Описание значений смотреть в .
 
|}
 
 
== События ==
 
 
{| class="wikitable sortable"
 
|-
 
| <syntaxhighlight lang="Delphi">event</syntaxhighlight> || <code>OnException: [[TfgExceptionEvent]]</code>
 
Оповещает об исключении, возникшее в рамках приложения.
 
|}
 

Версия 23:19, 11 июня 2019

Delphi

TfgApplication = class (TComponent, IInterfaceComponentReference, IInterface)