FGX.Pickers.TfgBasePicker: различия между версиями
Перейти к навигации
Перейти к поиску
Admin (обсуждение | вклад) (summary) |
Admin (обсуждение | вклад) (summary) |
||
Строка 26: | Строка 26: | ||
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">Hide()</code> | | <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">Hide()</code> | ||
Скрыть пикер. | Скрыть пикер. | ||
+ | |} | ||
+ | |||
+ | == Свойства == | ||
+ | |||
+ | {| class="wikitable sortable" | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>Owner: [[TObject]]</code> | ||
+ | |||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>IsCancellable: [[Boolean]]</code> | ||
+ | Должен ли закрываться пикер, если пользователь сделал касание вне границ пикера? | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>Message: [[string]]</code> | ||
+ | Описание выбора. | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>Title: [[string]]</code> | ||
+ | Заголовок. | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>IsShown: [[Boolean]]</code> | ||
+ | Отображен ли пикер на экране или нет? | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>OnShowCallback: [[.TfgCallback|TfgCallback]]</code> | ||
+ | Вызывается, когда пикер отобразился на экране. | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>OnHideCallback: [[.TfgCallback|TfgCallback]]</code> | ||
+ | Вызывается, когда пикер скрылся с экрана. | ||
+ | |- | ||
+ | | <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>OnCancelCallback: [[.TfgCallback|TfgCallback]]</code> | ||
+ | Вызывается, когда пользователь отменил выбор. | ||
|} | |} |
Версия 04:53, 10 июня 2019
Delphi
TfgBasePicker = class (TObject)
Содержание
Описание
Базовый класс пикера, описывающий общие настройки, методы и события.
Конструкторы
constructor
|
Create(const AOwner: TObject)
|
Методы
procedure
|
Show()
Отобразить пикер. |
procedure
|
Hide()
Скрыть пикер. |
Свойства
property
|
Owner: TObject
|
property
|
IsCancellable: Boolean
Должен ли закрываться пикер, если пользователь сделал касание вне границ пикера? |
property
|
Message: string
Описание выбора. |
property
|
Title: string
Заголовок. |
property
|
IsShown: Boolean
Отображен ли пикер на экране или нет? |
property
|
OnShowCallback: TfgCallback
Вызывается, когда пикер отобразился на экране. |
property
|
OnHideCallback: TfgCallback
Вызывается, когда пикер скрылся с экрана. |
property
|
OnCancelCallback: TfgCallback
Вызывается, когда пользователь отменил выбор. |