From: <os...@si...> - 2011-06-13 17:20:09
|
In the initDialog I specify: self~connectNotifyEvent("IDC_DECNUM1","GOTFOCUS",yyyy) self~connectNotifyEvent("IDC_DECNUM1","LOSTFOCUS",xxxx) Both give a zero return code. However, no matter how much I try to place focus on the edit control "IDCDECNUM1", I never get the methods "xxxx" or "yyyy" invoked. Am I doing something wromg? Maybe I'm misunsderstanding what "focus" is?? Many thanks, Oliver PS: The code is attached - a test dialog for sorting out how to check for valid numeric entry. It's pretty messy I'm afraid 'cos I'm doing a couple of other things as well. |