Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DT Picker
Message
 
 
À
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:
00628568
Vues:
14
Sajjad,

From all of the other threads you have going on it's really hard to tell exactly what all of the conflicting code that you have got spread through your controls in what sounds like a rather complex form.

I think you'd find a lot of benefit to start a fresh form with just a couple of VFP BaseClass controls and no code in them. Use the EventLogging feature of the debugger to watch what happens as you interact with the UI with your keyboard and the mouse. Set the event log to output to the window, use the debugger set to the FoxPro frame.

Add code to one method and see how it changes the behavior of the controls when you run the form.

>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.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform