Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Combo box validation
Message
De
06/03/2002 02:00:43
 
 
À
05/03/2002 06:38:17
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00627764
Message ID:
00628851
Vues:
25
Hi Hilmar,

I solved my problem by putting in lostfocus false condition.
nodefault
this code keep cursor on same text if condition fail on lost focus.
Could you reply my new thread for grid problem please.

Thanks,


>>Thanks Hilmar,
>>
>>If I am using lostfocus to validate. And condition is not tru than my cursor not staying in same filed. if i write. Thisform.text1.setfocus
>>its giving error cannot call from valid,when,rangelow range hign. while i am using this line in lost focus I an not using any four method. How can cursor stay in same file if i use lostfocus. Please write actual code.
>
>I can't post actual code, since I don't do this - I tried to help with a few ideas, which may, or may not, point you in the correct direction.
>
>What I do is forget about controlling the focus for validation purposes. Instead, I check a series of rules only when the user tries to save. IMO, this approach is much simpler.
>
>HTH, Hilmar.
Sajjad Ahmad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform