FGX.ComboBox.TfgCustomComboBox: различия между версиями
Перейти к навигации
Перейти к поиску
Admin (обсуждение | вклад) (summary) |
Admin (обсуждение | вклад) (summary) |
||
Строка 6: | Строка 6: | ||
<code>TfgCustomComboBox = class (TfgControl, IFGXTapSupported, IFGXNotificationObserver, IFGXNotificationObservable)</code> | <code>TfgCustomComboBox = class (TfgControl, IFGXTapSupported, IFGXNotificationObserver, IFGXNotificationObservable)</code> | ||
+ | |||
+ | == Методы == | ||
+ | |||
+ | {| 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:30, 9 июня 2019
Delphi
TfgCustomComboBox = class (TfgControl, IFGXTapSupported, IFGXNotificationObserver, IFGXNotificationObservable)
Методы
procedure | AddItem(const AItem: TfgCustomComboBoxItem)
Добавляет произвольный элемент комбобокса. |
function | AddTextItem(const AText: string)
Добавляет текстовый элемент комбобокса. Он отображает только текст. |
function | DeleteItem(const AItem: TfgCustomComboBoxItem)
Удаляет элемент по указанному инстансу AItem . |
function | DeleteItem(const AIndex: Integer)
Удаляет элемент по указанному индексу AIndex . |
procedure | Clear()
Удаляет все элементы выпадающего списка. |