A band
box
is a special text box that embeds a customizable popup window (aka., a dropdown window). Like comboboxes, a bandbox
consists of an input box and a popup window. The popup window is opened automatically, when users presses Alt+DOWN or clicks the
button.
Unlike comboboxes
, the popup window of a bandbox could be anything. It is designed to give developers the maximal flexibility. A typical use is to represent the popup window as a search dialog.
<bandboxid="bd"> <bandpopup> <vbox> <hbox>Search<textbox/></hbox> <listboxwidth="200px" onSelect="bd.value=self.selectedItem.label;bd.closeDropdown();"> <listhead> <listheaderlabel="Name"/> <listheaderlabel="Description"/> </listhead> <listitem> <listcelllabel="John"/> <listcelllabel="CEO"/> </listitem> <listitem> <listcelllabel="Joe"/> <listcelllabel="Engineer"/> </listitem> <listitem> <listcelllabel="Mary"/> <listcelllabel="Supervisor"/> </listitem> </listbox> </vbox> </bandpopup> </bandbox>
Name |
Event Type |
---|---|
|
Event:
|
Property |
Description |
Data Type |
Default Value |
---|---|---|---|
|
Sets whether to automatically drop the list if users is changing this text box. |
|
|
|
|
|
|
|
Sets the image URI that is displayed as the button to open Bandpopup. |
|
|
|
Sets whether it is multiline. |
|
|
|
Sets the rows. |
|
|
Name |
Description |
Return Data Type |
---|---|---|
|
| |
|
Closes the popup (getDropdown()). |
|
|
Returns the dropdown window belonging to this band box. |
|
|
Generates the Client-Side-Action attributes to the interior tag. |
|
|
Returns |
|
|
Returns RS_NO_WIDTH|RS_NO_HEIGHT. |
|
|
|
Inherited From