|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Combobox, Count EntriesI have a combo box on a form. It's entries are loaded from a database. Once
the box is loaded, is there a way to ask it how many items it has? Or should I just count the number of items added and I'm adding them? The application is two comboboxes used by the user to select min and max search criteria. By default the first will be preset to the lowest item and the other will be preset to the last item in the list. Both boxes will be loaded with the same list of items. Thanks for any ideas, Bernie "Cerebrus" <zorg***@sify.com> wrote in news:1145244438.891866.157370 @z34g2000cwc.googlegroups.com:> Have you tried querying ComboBox.Items.Count ? Argh!!!!!!!!!!!!!> > I couldn't find that in the docs, so I didn't bother looking in the IDE to see if it would work. Works fine, sorry for the stupid question! Bernie
Is there a Filename.IsValid function anywhere?
PrivateFontCollection Quastion radio button user settings Confused Using VB in VS2003 Populating a combobox from dataset Proper way to accept data from sockets? MsChart error message in VB 2005 Starter Kit Problem Using new control that inherits from Form Successfully executing queries |
|||||||||||||||||||||||