Hello.
I have a problem regarding events:
When I want to leave (for example) textbox I catching Leave event of that control and do a check if I can leave this control. In a case that control must not be leaved I fire event to set focus to this control again. The problem here is that the next control in a tabindex row got focus and then Leave event is fired again but this time from next control in a tabindex row caused by Enter method from first control.
Is it possible to somehow destroy other events in the case when I don't want to leave the text box.
Validate event is not an option!
Thanks in advance
Andreo
I have a problem regarding events:
When I want to leave (for example) textbox I catching Leave event of that control and do a check if I can leave this control. In a case that control must not be leaved I fire event to set focus to this control again. The problem here is that the next control in a tabindex row got focus and then Leave event is fired again but this time from next control in a tabindex row caused by Enter method from first control.
Is it possible to somehow destroy other events in the case when I don't want to leave the text box.
Validate event is not an option!
Thanks in advance
Andreo