combolist

Implements a combo with the drop-down list. You cannot edit the entries, but instead they are selected from a pre-defined list (which is implemented using the item tag). Also you can create a "dynamic" interface with this control node. You can assign a group of controls to each list entry and the interface will dynamically change depending on which of them is selected.

Entries of the list are defined using the item tag with the caption parameter. If you want to assign a group of controls to a particular entry, put control tags under the item tag.

Parameters:

Parameter Description Default value
name inherited parameter
default inherited parameter
caption inherited parameter
minwidth inherited parameter
maxwidth inherited parameter
labelpos inherited parameter

Example:

<?xml version="1.0" encoding="ISO-8859-1"?>
<root dpix="96" dpiy="96">
 <combolist name="method" caption="Connection method" default="0">
  <item caption="Use default"/>
  <item caption="Dial-up">
   <edit name="phone" caption="Phone number"/>
   <edit name="login" caption="Login" labelpos="left"/>
   <edit name="passw" caption="Password" labelpos="left"
      password="1"/>
  </item>
  <item caption="Proxy server">
   <combolist name="ptype" caption="Type of proxy" default="0">
    <item caption="HTTPP"/>
    <item caption="SOCKS5"/>
   </combolist>
   <edit name="p_login" caption="Username" labelpos="left"/>
   <edit name="p_passw" caption="Password" labelpos="left"
      password="1"/>
  </item>
 </combolist>
</root>

Result:
    

 

The CHM file was converted to HTML by chm2web software.