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

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
Строка 13: Строка 13:
 
| <code>constructor</code> || <code>Create(AOwner: TComponent)</code>
 
| <code>constructor</code> || <code>Create(AOwner: TComponent)</code>
  
 +
|}
 +
 +
== Методы ==
 +
 +
{| class="wikitable sortable"
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <syntaxhighlight lang="Delphi">Initialize()</syntaxhighlight>
 +
Стартовая инициализация.
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <syntaxhighlight lang="Delphi">Run()</syntaxhighlight>
 +
Запуск приложения.
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <syntaxhighlight lang="Delphi">CreateForm(const AInstanceClass: TComponentClass; var AReference: )</syntaxhighlight>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <syntaxhighlight lang="Delphi">OpenURL(const AUrl: string)</syntaxhighlight>
 +
Открывает ресурс по указанному урлу в соответствующем приложении.
 
|}
 
|}

Версия 03:11, 10 июня 2019

Delphi

TfgApplication = class (TComponent, IInterfaceComponentReference, IInterface)

Конструкторы

constructor Create(AOwner: TComponent)

Методы

procedure
Initialize()

Стартовая инициализация.

procedure
Run()

Запуск приложения.

procedure
CreateForm(const AInstanceClass: TComponentClass; var AReference: )
function
OpenURL(const AUrl: string)

Открывает ресурс по указанному урлу в соответствующем приложении.