Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Two controls got focus
Message
From
10/06/1999 10:31:38
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Title:
Two controls got focus
Miscellaneous
Thread ID:
00228382
Message ID:
00228382
Views:
46
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
Map
View

Click here to load this message in the networking platform