Modify Listener problem with Tabs
private ModifyListener modifyListenerFocus =new ModifyListener(){
publicvoid modifyText(final ModifyEvent e){
if (!((Control) e.widget).isFocusControl()){return;}//only listen if User is in field on this event
setBothOkAndUnsavedDataIndicator(false);
}
};
I have this code above that sets a save buttons color to red if a change in a field is made. However, if i click in a field and not change anything at all, but then tab to another page, it will set the button to red thinking the field was modified. how can i check for this condition ? please help me

