<combo>
Creates Combo widget.Examples :
<combo>
<item>Item 1</item>
<item>Item 2</item>
</combo>
<!-- Read only with 4th item is selected -->
<combo style="SWT.READ_ONLY">
<item>Item 1</item>
<item>Item 2</item>
<item>Item 3</item>
<item>Item 4</item>
<!-- select the 4th item in the combo -->
<select>3</select>
</combo>
<!-- With visible Item is drop-down set to 8 -->
<combo style="SWT.READ_ONLY" visibleItemCount="8">
<item>Item 1</item>
<item>Item 2</item>
<item>Item 3</item>
<item>Item 4</item>
<item>Item 5</item>
<item>Item 6</item>
<item>Item 7</item>
<item>Item 8</item>
</combo>
<!-- Selection Event Listener -->
<combo SWT.Selection="com.sheelapps.swtml.examples.TestListener">
<item>Item 1</item>
<item>Item 2</item>
<item>Item 3</item>
<item>Item 4</item>
<item>Item 5</item>
<item>Item 6</item>
<item>Item 7</item>
<item>Item 8</item>
<select>0</select>
</combo>
Applications |
Links |
SWTML Links |
Share this Page |