#include <Interfaces.h>
Inherits DigitalSpaces::DIObjectBase.
Using the function DI3DVisualsGUIElement1::setText allows you to change the text displayed, DI3DVisualsGUIElement1::getText returns the text currently displayed. When the user selects (clicks) an entry from the drop down box, this changes the text retreived by DI3DVisualsGUIElement1::getText.
To allow the combo box to appear below the bottom the parent window, make sure the ClippedByParent property is set to false.
Public Member Functions | |
| bool | hasSelectionChanged () |
| Returns if an item has been selected from the drop down list. | |
| void | addItem (const char *sItemText) |
| Adds an item to the drop down list. | |
| void | removeItem (const char *sItemText) |
| Removes an item from the drop down list. | |
| void | resetList () |
| Removes every item from the drop down list. | |
| bool DigitalSpaces::DI3DVisualsGUIComboBox1::hasSelectionChanged | ( | ) |
Returns if an item has been selected from the drop down list.
The current implementation returns if the user has selected from the list element since the last time this function was called, or since creation if the function has not been called before.
1.5.6