Change event (combobox) 
Author Message
 Change event (combobox)

How can i make my change event to do something in VB 4.0 after i've
selected something in a combobox. Is it possible that the change event
doesn't work ?
I haven't got this problem in a DBCombo.



Sat, 04 Sep 1999 03:00:00 GMT  
 Change event (combobox)

Declare a Private/Public Variable called say..datachanged%
In the Change Event set datachanged to True
When you Unload the form put some code like:
 If datachanged the
   'promt user to save the changes
 end if
Another tip...I use a var called loading%...when you are initialising a
form, Combo boxes get a share of the action so...
In the Combo_Change Event I put:
If not loading Then datachanged = true
Hope that gives you an idea or two
Cheers from OZ



Quote:
> How can i make my change event to do something in VB 4.0 after i've
> selected something in a combobox. Is it possible that the change event
> doesn't work ?
> I haven't got this problem in a DBCombo.



Mon, 13 Sep 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. ComboBox Change Event Does not fire when user changes selection

2. commandbar combobox and its change event

3. commandbar combobox and its change event

4. Help: Losing ComboBox Change event in UserControl OCX

5. Combobox control, change event

6. ComboBox Change Event

7. ComboBox Change event

8. ComboBox Change event

9. Combobox List Change Event

10. combobox style2 change event

11. Speaking of Combobox Change Events...

12. Combobox.clear doesn't generate Change event

 

 
Powered by phpBB® Forum Software