Wrox Programmer Forums
|
ADO.NET For discussion about ADO.NET.  Topics such as question regarding the System.Data namespace are appropriate.  Questions specific to a particular application should be posted in a forum specific to the application .
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ADO.NET 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 October 8th, 2004, 04:11 AM
Authorized User
 
Join Date: Oct 2004
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default abt combo Box

hi guys,
we hav an exsting program w/out source code done in vb6
and i have to make a new system writtn in vb.net

how do i trigger the click event when the user start typing in combo box
in order for the combox to diplsy its dropdown , i need to use the mouse, all i wnt is just type a number which is inside the combobox and it will automtcly dropdown so i can choose what row and enter it and move to another control, hope u undestamnd it
tnx


 
Old October 8th, 2004, 07:52 AM
Friend of Wrox
 
Join Date: Feb 2004
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If I am correct what you are trying is in the following link go and check it.

http://www.kbalertz.com/Feedback_319946.aspx



It is not how much we do,
but how much love we put in the doing.

-Mother Theresa
 
Old October 10th, 2004, 10:02 PM
Authorized User
 
Join Date: Oct 2004
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi pradeep
chkout the site that u given me, it works fine, but i neeed addtl for that, i mean when i type it will show the drop down, in my system it will show up all the general ledger in accounting heres the sample data two columns in combo box, there are 50 codes here diff in every company in a whole system, so if the user dont know the data it will always automatically show in combo i mean the dropdown when it receives focus

1 ASSETS
11 CURRENT ASSETS
1101 Petty cash fund
1102 Change fund
1103 Cash on hand
1104 Cash in bank
1104001 Cash in bank - MBTC (MKNA)
1104002 Cash in bank - BANCO DE ORO
1104003 Cash in bank - LANDBANK MARCOS H-WAY
1104004 Cash in bank - BPI/-FB MASINAG
1104005 Cash in Bank - METROBANK - SAN ROQUE
1105 Accounts receivable
110501 Accounts receivable - trade
110502 Accounts receivable - others
110505 Customer deposit
110507 Accounts receivable - bounced check


 
Old October 11th, 2004, 01:19 AM
Friend of Wrox
 
Join Date: Feb 2004
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You mean to say that when the ComboBox got focus it should display the list automatically?



It is not how much we do,
but how much love we put in the doing.

-Mother Theresa
 
Old October 11th, 2004, 01:29 AM
Authorized User
 
Join Date: Oct 2004
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes, actually they are using it right now, combox box in the first column when it recvd focus it will automatically show the dropdown, just like when you mouseclk it, instaed theye are using the code only which is in numeric format , as you can see in my last reply

 
Old October 11th, 2004, 02:07 AM
Friend of Wrox
 
Join Date: Feb 2004
Posts: 177
Thanks: 0
Thanked 0 Times in 0 Posts
Default

In the "GotFocus" event of the combobox write the following code,

for example if the comobobox name is "comboBox3"
comboBox3.DroppedDown = true;

I think this will help you :-)



It is not how much we do,
but how much love we put in the doing.

-Mother Theresa
 
Old October 11th, 2004, 03:32 AM
Authorized User
 
Join Date: Oct 2004
Posts: 72
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes it works :)
m using it right now
tnx pradeep






Similar Threads
Thread Thread Starter Forum Replies Last Post
Populate a text box from a combo box value dnf999 Access VBA 7 February 6th, 2012 02:24 PM
Combo box to display items from parent combo box Gini Visual Studio 2008 0 June 18th, 2008 12:30 AM
Count in combo box(display results in text box) mboyisis Access 4 April 4th, 2008 07:08 AM
Combo box choice creating filtered combo box stevensj5 Access 11 September 13th, 2007 11:33 AM
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.