Wrox Programmer Forums
|
VB How-To Ask your "How do I do this with VB?" questions in this forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 16th, 2005, 10:53 AM
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default List Box or Combox

Hi, my friends,

I need help with make control choice with pulldown list with mutiple row.

User needs to pick up number list to data field in the database. Also they like to see the explaination list for each number when data entry.

10 = cake
       apple
       orange
20= rice
       wine
30= green vegetable



 
Old February 16th, 2005, 11:00 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there..

can you please be more specific???

the diference between a list or a combo depends on how many data will you put on them, and if you have space problems in your form..
besides that, you can use whatever you like more, but is not easy to access a combo with a 1000 elements ;)

HTH

Gonzalo
 
Old February 16th, 2005, 04:07 PM
Registered User
 
Join Date: Jul 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for the help.

I have 30 item in the list/ Also, user need to edit their list from my Vb6 application too.


 
Old February 16th, 2005, 06:36 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 627
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If you need editing, you can use the ListView control, that you can find in Microsoft Windows Common Controls 6.0

Marco
 
Old February 25th, 2005, 09:02 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,151
Thanks: 2
Thanked 14 Times in 14 Posts
Send a message via ICQ to SerranoG Send a message via AIM to SerranoG
Default

Quote:
quote:Originally posted by gbianchi
 but is not easy to access a combo with a 1000 elements
 Sure it is. Remember that you don't have to pick off the list. You can start typing and the selection will automatically drop down to the choice based on the letters you start typing.


Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division





Similar Threads
Thread Thread Starter Forum Replies Last Post
Grab Values From List Box into Text Box phungleon VB How-To 2 June 19th, 2008 10:33 PM
multi-column list box values moved to 2nd list box sbmvr Access VBA 1 May 14th, 2007 01:58 PM
setting combox box value to href in <link> bhairraju CSS Cascading Style Sheets 2 March 23rd, 2007 01:58 PM
Drop Down/Combox with Check box mazimi Classic ASP Basics 4 October 4th, 2004 03:18 PM
Populate List Box by Combo Box Selection mmcdonal Access 2 June 15th, 2004 12:08 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.