Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DT Picker
Message
De
05/03/2002 01:00:11
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00627765
Message ID:
00628230
Vues:
16
Ahmad,

>1. Thisform.dtpicker1.object.enabled=.f.
>Its showing control disable but focus staying there untill i press enter or tab ket its not going on another control.

Does the control have focus at the time you disable it?

No its not having foucs when I disable it, actually I disable it at one combo selection. After that value accepting in one text box. when loosing text box focus cursor staying on disable dtpicker control. once more pressing tab than cursor goes to desire place.

>2. When pressing enter key or selecting date through mose validating date validation which i have written but if moving by TAB key its not validating..please help

What code do you have attached to the control? What method did you put it in?

For validating simple date should not be greater than todays date. For enter key I have written in keydown event and for mouse selection I have written in closup event. both doing validation except if i loose focus by TAB key its not validating.

Even If i keep code in lost focus still not validating. I want my focus should go out only if date valid. Please write actual code.

Thanks & best regards,
Sajjad
Sajjad Ahmad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform