|
-
March 8th, 2000, 10:50 PM
#1
combo box
I want to populate combo2 from a criteria that is selected from combo1. I have put the combo2 populating routine in combo1 click() but this fires to often.I have used the combo lostfocus() but then user must wait for combo2 to populate.
is there a way to detect when combo1 item has been selected but before it loses focus? My database is rather large and speed is important.
thanks in advance.
-
March 9th, 2000, 03:51 AM
#2
Re: combo box
What do you mean that it fires too often?
The click event should only fire when a user clicks on an item in a combo box or if you change its listindex in code.
-
March 9th, 2000, 12:59 PM
#3
Re: combo box
There is a new property in VB6 called CausesValidation. Set this to true and then you will get a Validate event, which fires before LostFocus.
Good luck,
John
John Pirkey
MCSD
www.ShallowWaterSystems.com
John Pirkey
MCSD (VB6)
http://www.stlvbug.org
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|