35.1 Overview

Poplist class simplifies creation of popups that contain just a simple list of predefined gadget contents. Poplist class will create a string gadget and a popup button for you. Whenever the user hits the popup button, a window containing a list of predefined entries will be opened so that the user can choose one from the list.

When creating a poplist object, you have to use the <item> tag to fill it with entries. Here is an example:

 
<poplist>
   <item>The</item>
   <item>quick</item>
   <item>brown</item>
   <item>fox</item>
   <item>jumps</item>
   <item>over</item>
   <item>the</item>
   <item>lazy</item>
   <item>dog</item>
</poplist>

The list entries that you specify using the <item> tag can use text formatting codes. See Text formatting codes for details.


Show TOC