-
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.
-
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.
-
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