Hi All
I have been fighting a nuance with a form that has only one label and one textbox. The validated event does not fire! I have employed the click, enter, keydown, leave, and validated events. I cannot exit the form unless I trap the return key in the keydown event and exit from that event via a me.dispose command. Is this normal behavior? The validated event is never reached. If I don't execute the me.dispose command the vb.net model places the textbox control in "oblivion". The other interesting nuance created by this required exit method is the next form that I have in the application has two labels and two textboxes. When this second form is entered the first textbox is skipped! After a lot of head scratching I entered the application.doevent command prior to the me.dispose command in the keydown event in the first form. This addition resolved the entry issue with the second form. What is going on here? Is this a known anomaly in VB.net? Any insights on this behavior would be greatly appreciated.
Respectfully
Ideprize
I have been fighting a nuance with a form that has only one label and one textbox. The validated event does not fire! I have employed the click, enter, keydown, leave, and validated events. I cannot exit the form unless I trap the return key in the keydown event and exit from that event via a me.dispose command. Is this normal behavior? The validated event is never reached. If I don't execute the me.dispose command the vb.net model places the textbox control in "oblivion". The other interesting nuance created by this required exit method is the next form that I have in the application has two labels and two textboxes. When this second form is entered the first textbox is skipped! After a lot of head scratching I entered the application.doevent command prior to the me.dispose command in the keydown event in the first form. This addition resolved the entry issue with the second form. What is going on here? Is this a known anomaly in VB.net? Any insights on this behavior would be greatly appreciated.
Respectfully
Ideprize