Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Re: Comboboxes and Listboxes - Deciding Between Them
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.


Report this thread to moderator Post Follow-up to this message
Old Post
Bookreader
01-27-06 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Visual Basic archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:12 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.