#include <combo.h>
Inheritance diagram for VDKCombo:
|
Constructor
|
|
Sets object background
Reimplemented from VDKObject. |
|
Default: false. Whether the Combo box should check for equality in the list case-sensitive or not. |
|
Same as Editable property in VDKEntry. Setting it to false allows you to provide a read-only list to select from, without the user being able to enter text. |
|
Entry text visibility flag. (As in VDKEntry) |
|
Extended LS signal system: Received when an item is activated
|
|
Extended LS signal system: Received when an item is selected
|
|
Extended LS signal system: Received when an item is changed
|
|
Extended LS signal system: Received when an item is unselected
|
|
A StringList corresponding to the Text of the Listitems. Use this function to add items to the list, StringList sl = mycombo->PopdownStrings; VDKString s("New line"); sl.add(s); mycombo->PopdownStrings = sl; int sel = mycombo->Selected; char *seltext = (sel == -1) ? "None" : (char*)(mycombo->GetPopdownStrings())[sel]; printf("Selected item is %s\n",seltext);
|
|
Returns the index of the currently selected item in the dropdown list or -1 if no item is selected. See PopdownStrings for example usage. |
|
Default: false. Setting Sorted to true will automatically sort the listitems alphabetically and maintain the list sorted whenever a new item is added |
|
Set/Get the text in the Entry |