Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Two controls got focus
Message
De
10/06/1999 10:31:38
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Two controls got focus
Divers
Thread ID:
00228382
Message ID:
00228382
Vues:
47
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
Répondre
Fil
Voir

Click here to load this message in the networking platform