| Bookreader 2006-01-27, 3:55 am |
| On Fri, 27 Jan 2006 04:28:37 GMT, Bookreader <bookreader127@yahoo.com>
wrote:
>I have been playing around with listboxes and comboboxes trying to
>figure something out.
>
>Please correct me where I am wrong. Some things I thought were true
>may not be.
>
>I always thought that comboboxes were inherited from listboxes.
>Therefore, I thought that comboboxes would have all the properties and
>methods of listboxes.
>
>The current case is that I have a list of items of which the user is
>only allowed to pick one.
>
>In a listbox, I can set the MultiSelect Property to '0' (none) and
>then show the item selected by simply:
>
> MsgBox lstFamilies.List(lstFamilies.ListIndex)
>
>This will show me which item was selected.
>
>On the other hand, I like the combo box. Here, I can get it with the
>ComboBox.Text method.
>
>Is the combobox not a descendant of the listbox?
>
>It's not a real big deal, but it has me wondering.
>
>Thanks.
|