Package Win32::GUI::Combobox
Constructor
Methods
Add(STRING, STRING .. STRING)
Adds one or more items at the end of the control's list.
AddString(STRING) Adds an item at the end of the control's list.
Clear() See Reset().
Count() Returns the number of items in the Combobox.
FindString(STRING, [INDEX]) Searches the Combobox for an item that begins with the specified STRING. The optional INDEX parameter tells to start the search from the specified position; if no parameter is given, the whole list is searched. Returns the zero-based index of the found item or -1 if no matching item was found.
FindStringExact(STRING, [INDEX]) Searches the Combobox for an item that exactly matches the specified STRING (case insensitively). The optional INDEX parameter tells to start the search from the specified position; if no parameter is given, the whole list is searched. Returns the zero-based index of the found item or -1 if no matching item was found.
FirstVisibleItem([INDEX]) Gets the zero-based index of the first visible item in the listbox portion of the Combobox, or sets it to the specified INDEX.
GetString(INDEX) Returns the string at the specified zero-based INDEX in the Combobox.
InsertItem(STRING, [INDEX]) Inserts an item at the specified zero-based INDEX in the Combobox, or adds it at the end if INDEX is not specified.
ItemHeight([HEIGHT]) Gets or sets the items height in a Combobox.
ListIndex() See SelectedItem().
RemoveItem(INDEX) Removes the zero-based INDEX item from the Combobox.
Reset() Deletes the content of the Combobox.
Select(INDEX) Selects the zero-based INDEX item in the Combobox.
Events
Change()
Sent when the user selects an item from the Combobox
3 POD Errors
The following errors were encountered while parsing the POD:
- Around line 111:
You can't have =items (as at line 115) unless the first thing after the =over is an =item
- Around line 126:
You can't have =items (as at line 130) unless the first thing after the =over is an =item
- Around line 264:
You can't have =items (as at line 268) unless the first thing after the =over is an =item