P
Piotr Ryszkiewicz
Guest
Thank you
#2: Yes, setting CausesValidation to false did the trick #3: Yes, I am using databinding. I know I can call my validation logic from Click trigger on OK/Save button before I call Assign() on databinding source. This works. But I thought that this is what Validating (or Validated ?) methods on form level should do. The problem is, that calling THIS-OBJECT:VALIDATE() do not call these methods, even if subscription is done correctly (I assume it is, this was also generated by PDS). #4: OK. Sender:GetType() gives me the name of the class (in my case System.Windows.Forms.MaskedTextBox). CAST(sender,System.Windows.Forms.MaskedTextBox):NAME gives me what I need - the name of my widget. I did not find the way to get it without CASTing sender to specific type. But why CAST(sender,Sender:GetType()):NAME does not compile ? #5. OK, I will have to live with that it seems
Continue reading...
Continue reading...