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

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
Строка 15: Строка 15:
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create(AOwner: [[TComponent]])</code>
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create(AOwner: [[TComponent]])</code>
  
 +
|}
 +
 +
== Методы ==
 +
 +
{| class="wikitable sortable"
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">AfterConstruction()</code>
 +
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">Show()</code>
 +
Отобразить форму на экране.
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">Hide()</code>
 +
Скрыть форму с экрана.
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">ScreenToForm(const AScreenPoint: [[TPointF]]): [[TPointF]]</code>
 +
Конвертирует координаты точки в системе координат экрана в систему координат формы.
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">FormToScreen(const AFormPoint: [[TPointF]]): [[TPointF]]</code>
 +
Конвертирует координаты точки в системе координат формы в систему координат экрана.
 
|}
 
|}

Версия 04:50, 10 июня 2019

Delphi

TfgCustomForm = class (TfgCustomLayout, IFGXYogaContainer, IFGXContainer)

Описание

Описание отсутствует.

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

constructor
Create(AOwner: TComponent)

Методы

procedure
AfterConstruction()
procedure
Show()

Отобразить форму на экране.

procedure
Hide()

Скрыть форму с экрана.

function
ScreenToForm(const AScreenPoint: TPointF): TPointF

Конвертирует координаты точки в системе координат экрана в систему координат формы.

function
FormToScreen(const AFormPoint: TPointF): TPointF

Конвертирует координаты точки в системе координат формы в систему координат экрана.