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.