General information
Category:
ActiveX controls in VFP
Title:
Two controls got focus
Hello, all.
I'm very sorry my English is not good.
I have a Microsoft Date and Time Picker Control and a textbox control on my form. I create a new property for Textbox "EnabledLost" in Init event of Textbox. In Textbox's Valid event, i make a data validation and set this property to .F. (if validation fail) to prevent lost focus. If i press Tab from textbox, no problem. But if when i enter invalid data in the textbox and i click the DateTime control, the textbox and DateTime control all have got focus and then i can't do anything.
Thanks in advance.
Trung B.C
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only