Sorry for asking so much lately but
Does anyone know how to determine whether the focus goes to object a or b ?
if I have 3 object in a form, a textbox,listbox and combobox,
if the focus goes to combobox, I want to minimize or remove listbox from myform, I can't remove listbox by making any code on textbox.lostfocus, cuz the listbox should be able to access by mouse click.
If I put remove object on combobox.gotfocus, it gonna be a big problem if I have 20 object on the same form.
To make it simple, just say, I want to make listbox disapear if the active control not in the textbox nor the listbox.
Quite hard for me to explain, so this is the best I can do, hope someone could help.
TIA :)
Senna Dwipayana
Being good is better
Being better is a bless