FGX.Forms.TfgFormManager: различия между версиями
Перейти к навигации
Перейти к поиску
Admin (обсуждение | вклад) (summary) |
Admin (обсуждение | вклад) (summary) |
||
Строка 18: | Строка 18: | ||
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create()</code> | | <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create()</code> | ||
<span style="color:gray">Описание отсутствует.</span> | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |} | ||
+ | |||
+ | == Методы == | ||
+ | |||
+ | {| class="wikitable sortable" | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">UpdateCurrentToolbar()</code> | ||
+ | <span style="color:gray">Описание отсутствует.</span> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">Show(const AForm: [[FGX.Forms.TfgCustomForm|TfgCustomForm]])</code> | ||
+ | |||
+ | <p>Выводит на экран форму <i>AForm</i> .</p><div class="info">Аналогично вызову <i>AForm.Show</i> .</div> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">Hide(const AForm: [[FGX.Forms.TfgCustomForm|TfgCustomForm]])</code> | ||
+ | |||
+ | <p>Скрывает форму <i>AForm</i> с экрана.</p><div class="info">Аналогично вызову <i>AForm.Hide</i> .</div> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">PreviousTopMost(): [[FGX.Forms.TfgCustomForm|TfgCustomForm]]</code> | ||
+ | |||
+ | <p>Возвращает форму, располагающуюся сразу позади <i>TopMost</i> .</p><div class="info">Если форм нету, то вернет nil.</div> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">PreviousTo(const AForm: [[FGX.Forms.TfgCustomForm|TfgCustomForm]]): [[FGX.Forms.TfgCustomForm|TfgCustomForm]]</code> | ||
+ | |||
+ | <p>Возвращает форму, располагающуюся сразу позади <i>AForm</i> .</p><div class="info">Если форм нету, то вернет nil.</div> | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">TopMost(): [[FGX.Forms.TfgCustomForm|TfgCustomForm]]</code> | ||
+ | |||
+ | <p>Возвращает видимую форму, которая находится поверх всех остальных.</p><div class="info">Если форм нету, то вернет nil.</div> | ||
|} | |} |
Версия 18:08, 29 июня 2019
Delphi
TfgFormManager = class (TfgNaturalInterfacedObject, IFGXNotificationObserver)
TObject -> TfgNaturalInterfacedObject -> TfgFormManager
Описание
Описание отсутствует.
Конструкторы
constructor
|
Create()
Описание отсутствует. |
Методы
procedure
|
UpdateCurrentToolbar()
Описание отсутствует. |
procedure
|
Show(const AForm: TfgCustomForm)
Выводит на экран форму AForm . Аналогично вызову AForm.Show .
|
procedure
|
Hide(const AForm: TfgCustomForm)
Скрывает форму AForm с экрана. Аналогично вызову AForm.Hide .
|
function
|
PreviousTopMost(): TfgCustomForm
Возвращает форму, располагающуюся сразу позади TopMost . Если форм нету, то вернет nil.
|
function
|
PreviousTo(const AForm: TfgCustomForm): TfgCustomForm
Возвращает форму, располагающуюся сразу позади AForm . Если форм нету, то вернет nil.
|
function
|
TopMost(): TfgCustomForm
Возвращает видимую форму, которая находится поверх всех остальных. Если форм нету, то вернет nil.
|