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

Материал из FGX Native Докуметации
Перейти к навигации Перейти к поиску
(summary)
(summary)
Строка 13: Строка 13:
 
| constructor || Create(AOwner: TComponent)
 
| constructor || Create(AOwner: TComponent)
  
 +
|}
 +
 +
== Методы ==
 +
 +
{| class="wikitable sortable"
 +
|-
 +
| procedure || AddItem(const AItem: TfgCustomComboBoxItem)
 +
Добавляет произвольный элемент комбобокса.
 +
|-
 +
| function || AddTextItem(const AText: string)
 +
Добавляет текстовый элемент комбобокса. Он отображает только текст.
 +
|-
 +
| function || DeleteItem(const AItem: TfgCustomComboBoxItem)
 +
Удаляет элемент по указанному инстансу '' AItem '' .
 +
|-
 +
| function || DeleteItem(const AIndex: Integer)
 +
Удаляет элемент по указанному индексу '' AIndex '' .
 +
|-
 +
| procedure || Clear()
 +
Удаляет все элементы выпадающего списка.
 
|}
 
|}

Версия 23:37, 9 июня 2019

Delphi

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

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

constructor Create(AOwner: TComponent)

Методы

procedure AddItem(const AItem: TfgCustomComboBoxItem)

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

function AddTextItem(const AText: string)

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

function DeleteItem(const AItem: TfgCustomComboBoxItem)

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

function DeleteItem(const AIndex: Integer)

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

procedure Clear()

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