Bandpopup"
From Documentation
Jumperchen (talk | contribs) |
Jimmyshiau (talk | contribs) |
||
Line 26: | Line 26: | ||
</hbox> | </hbox> | ||
<listbox width="200px" | <listbox width="200px" | ||
− | onSelect="bd.value=self.selectedItem.label; | + | onSelect="bd.value=self.selectedItem.label;bd.close();"> |
<listhead> | <listhead> | ||
<listheader label="Name" /> | <listheader label="Name" /> |
Revision as of 20:49, 2 December 2010
Bandpopup
Employment/Purpose
The popup that belongs to a Bandbox instance.
Developer usually listen to the onOpen event that is sent to Bandbox and then creates proper components as children of this component.
Example
<bandbox id="bd">
<bandpopup>
<vbox>
<hbox>
Search
<textbox />
</hbox>
<listbox width="200px"
onSelect="bd.value=self.selectedItem.label;bd.close();">
<listhead>
<listheader label="Name" />
<listheader label="Description" />
</listhead>
<listitem>
<listcell label="John" />
<listcell label="CEO" />
</listitem>
<listitem>
<listcell label="Joe" />
<listcell label="Engineer" />
</listitem>
<listitem>
<listcell label="Mary" />
<listcell label="Supervisor" />
</listitem>
</listbox>
</vbox>
</bandpopup>
</bandbox>
Supported Events
None | None |
- Inherited Supported Events: XulElement
Supported Children
*All
Use Cases
Version | Description | Example Location |
---|---|---|
Version History
Version | Date | Content |
---|---|---|