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

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
Строка 1: Строка 1:
* [[ FGX.DateTimeControl | Вверх к родителю: FGX.DateTimeControl ]]
+
* [[ FGX.DateTimeControl.TfgCustomDateTimeControl | Вверх к родителю: TfgCustomDateTimeControl ]]
  
 
Delphi
 
Delphi
Строка 5: Строка 5:
 
<syntaxhighlight lang="Delphi">TfgCustomTimeControl = class (TfgCustomDateTimeControl)</syntaxhighlight>
 
<syntaxhighlight lang="Delphi">TfgCustomTimeControl = class (TfgCustomDateTimeControl)</syntaxhighlight>
  
== Описание ==
+
Известные прямые наследники:
 +
[[FGX.TimeEdit.TfgCustomTimeEdit|TfgCustomTimeEdit]], [[FGX.TimePicker.TfgCustomTimePicker|TfgCustomTimePicker]]
  
Базовый контрол, который предоставляет базовую работу с временем.
+
Известные непрямые наследники:
 
+
[[FGX.TimeEdit.TfgTimeEdit|TfgTimeEdit]], [[FGX.TimePicker.TfgTimePicker|TfgTimePicker]]
== Конструкторы ==
 
 
 
{| class="wikitable sortable"
 
|-
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create(AOwner: [[TComponent]])</code>
 
 
 
|}
 
 
 
== Свойства ==
 
 
 
{| class="wikitable sortable"
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>NowDefault: [[Boolean]]</code>
 
Использовать текущее время при первичном отображении компонента.
 
|-
 
| <syntaxhighlight lang="Delphi">property</syntaxhighlight> || <code>Time: [[TTime]]</code>
 
Текущее выбранное время.
 
|}
 
 
 
== События ==
 
 
 
{| class="wikitable sortable"
 
|-
 
| <syntaxhighlight lang="Delphi">event</syntaxhighlight> || <code>OnTimeSelected: [[TfgOnTimeSelectedEvent]]</code>
 
Вызывается, когда пользователь выбирает время, дополнительно передает значение выбранного времени.
 
|}
 
 
 
== Константы ==
 
 
 
{| class="wikitable sortable"
 
|-
 
| <syntaxhighlight lang="Delphi">const</syntaxhighlight> || <code>DefaultNowDefault: [[Boolean]]</code>
 
 
 
|}
 

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

Delphi

TfgCustomTimeControl = class (TfgCustomDateTimeControl)

Известные прямые наследники: TfgCustomTimeEdit, TfgCustomTimePicker

Известные непрямые наследники: TfgTimeEdit, TfgTimePicker