|
Packit |
b099d7 |
@) This testcase should be run with the option \"-u DROP_DOWN_COMBO_BOX\".
|
|
Packit |
b099d7 |
A ComboBox widget of type DROP_DOWN_COMBO_BOX should be displayed.
|
|
Packit |
b099d7 |
A ComboBox should display a List widget.
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Verify that the ComboBox List displays three strings \"Mother\",
|
|
Packit |
b099d7 |
\"Father\", \"Sister\" are displayed and \"Brother\" is not
|
|
Packit |
b099d7 |
and that the scrollbar slider to the right of the List does not
|
|
Packit |
b099d7 |
fill the trough. (ComboBox8 TP1)
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) When the last item is programmatically selected with SelectItem, the
|
|
Packit |
b099d7 |
first item is no longer highlit, and the last item is NOT made visible.
|
|
Packit |
b099d7 |
(ComboBox8 TP2)
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) If you click MB1 on the down arrow of the ComboBox, the list displays the
|
|
Packit |
b099d7 |
last (highlit) item, \"Brother\" and \"Mother\" scrolls off the top of the
|
|
Packit |
b099d7 |
displayed list. (ComboBox TP3)
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) If you programmatically call SelectItem with a string that doesn't match
|
|
Packit |
b099d7 |
any in the list, the list is unchanged and a warning appears on stdout.
|
|
Packit |
b099d7 |
(ComboBox TP4)
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) If you call programatically call XmComboBoxSetItem with an Xm String item
|
|
Packit |
b099d7 |
that matches the second XmString item in the List, it updates the ComboBox
|
|
Packit |
b099d7 |
list by highlighting the set XmString item and displaying it as the first
|
|
Packit |
b099d7 |
item in the List. No other XmSTring items shouldbe highlighted. (ComboBox8
|
|
Packit |
b099d7 |
TP5)
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Calling XmComboBoxSetItem with an XmString item that matches the first
|
|
Packit |
b099d7 |
XmString item in the List scrolls the List upward to display the first
|
|
Packit |
b099d7 |
XmString item as the first item in the List; the first XmString item is
|
|
Packit |
b099d7 |
highlighted and all other items are unhighlighted. (ComboBox8 TP6)
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
#) Calling XmComboBoxSetItem with an XmString item that matches the last
|
|
Packit |
b099d7 |
XmString item in the list scrolls the list downward to display the last
|
|
Packit |
b099d7 |
XmString item as the first item in the list; the set XmString item is
|
|
Packit |
b099d7 |
highlighted (ComboBox8 TP7)
|
|
Packit |
b099d7 |
C)
|
|
Packit |
b099d7 |
|
|
Packit |
b099d7 |
E)
|