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

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
Строка 1: Строка 1:
 
* [[ FGX.DateTimeControl.TfgCustomDateTimeControl | Вверх к родителю: TfgCustomDateTimeControl ]]
 
* [[ FGX.DateTimeControl.TfgCustomDateTimeControl | Вверх к родителю: TfgCustomDateTimeControl ]]
 +
* [[ FGX.DateTimeControl | К модулю: FGX.DateTimeControl ]]
  
 
Delphi
 
Delphi
Строка 5: Строка 6:
 
<syntaxhighlight lang="Delphi">TfgCustomTimeControl = class (TfgCustomDateTimeControl)</syntaxhighlight>
 
<syntaxhighlight lang="Delphi">TfgCustomTimeControl = class (TfgCustomDateTimeControl)</syntaxhighlight>
  
Известные прямые наследники:
+
<p class="class-inheritance"><span class="type-border">[[System.Classes.TComponent|TComponent]]</span> -> <span class="type-border">[[FGX.Control.TfgControl|TfgControl]]</span> -> <span class="type-border">[[FGX.DateTimeControl.TfgCustomDateTimeControl|TfgCustomDateTimeControl]]</span> -> <span class="type-border">[[FGX.DateTimeControl.TfgCustomTimeControl|TfgCustomTimeControl]]</span></p>
 +
 
 +
Прямые наследники:
 
[[FGX.TimeEdit.TfgCustomTimeEdit|TfgCustomTimeEdit]], [[FGX.TimePicker.TfgCustomTimePicker|TfgCustomTimePicker]]
 
[[FGX.TimeEdit.TfgCustomTimeEdit|TfgCustomTimeEdit]], [[FGX.TimePicker.TfgCustomTimePicker|TfgCustomTimePicker]]
  
Известные непрямые наследники:
+
Непрямые наследники:
 
[[FGX.TimeEdit.TfgTimeEdit|TfgTimeEdit]], [[FGX.TimePicker.TfgTimePicker|TfgTimePicker]]
 
[[FGX.TimeEdit.TfgTimeEdit|TfgTimeEdit]], [[FGX.TimePicker.TfgTimePicker|TfgTimePicker]]
 
== Описание ==
 
 
Базовый контрол, который предоставляет базовую работу с временем.
 
 
== Конструкторы ==
 
 
{| class="wikitable sortable"
 
|-
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create(AOwner: [[TComponent]])</code>
 
<span style="color:gray">Описание отсутствует.</span>
 
|}
 
 
== Свойства ==
 
 
{| 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>
 
<span style="color:gray">Описание отсутствует.</span>
 
|}
 

Версия 02:42, 13 июня 2019

Delphi

TfgCustomTimeControl = class (TfgCustomDateTimeControl)

TComponent -> TfgControl -> TfgCustomDateTimeControl -> TfgCustomTimeControl

Прямые наследники: TfgCustomTimeEdit, TfgCustomTimePicker

Непрямые наследники: TfgTimeEdit, TfgTimePicker