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

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
Строка 18: Строка 18:
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create(AOwner: [[TComponent]])</code>
 
| <syntaxhighlight lang="Delphi">constructor</syntaxhighlight> || <code>Create(AOwner: [[TComponent]])</code>
 
<span style="color:gray">Описание отсутствует.</span>
 
<span style="color:gray">Описание отсутствует.</span>
 +
|}
 +
 +
== Методы ==
 +
 +
{| class="wikitable sortable"
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">AddItem(const AItem: [[FGX.ComboBox.TfgCustomComboBoxItem|TfgCustomComboBoxItem]])</code>
 +
Добавляет произвольный элемент комбобокса.
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">AddTextItem(const AText: [[string]]): [[FGX.ComboBox.TfgComboBoxTextItem|TfgComboBoxTextItem]]</code>
 +
Добавляет текстовый элемент комбобокса. Он отображает только текст.
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">DeleteItem(const AItem: [[FGX.ComboBox.TfgCustomComboBoxItem|TfgCustomComboBoxItem]]): [[Boolean]]</code>
 +
Удаляет элемент по указанному инстансу '' AItem '' .
 +
|-
 +
| <syntaxhighlight lang="Delphi">function</syntaxhighlight> || <code lang="Delphi">DeleteItem(const AIndex: [[Integer]]): [[Boolean]]</code>
 +
Удаляет элемент по указанному индексу '' AIndex '' .
 +
|-
 +
| <syntaxhighlight lang="Delphi">procedure</syntaxhighlight> || <code lang="Delphi">Clear()</code>
 +
Удаляет все элементы выпадающего списка.
 
|}
 
|}

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

Delphi

TfgCustomComboBox = class (TfgControl, IFGXTapSupported, IFGXNotificationObserver, IFGXNotificationObservable)

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

Описание

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

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

constructor
Create(AOwner: TComponent)

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

Методы

procedure
AddItem(const AItem: TfgCustomComboBoxItem)

Добавляет произвольный элемент комбобокса.

function
AddTextItem(const AText: string): TfgComboBoxTextItem

Добавляет текстовый элемент комбобокса. Он отображает только текст.

function
DeleteItem(const AItem: TfgCustomComboBoxItem): Boolean

Удаляет элемент по указанному инстансу AItem .

function
DeleteItem(const AIndex: Integer): Boolean

Удаляет элемент по указанному индексу AIndex .

procedure
Clear()

Удаляет все элементы выпадающего списка.