Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP version that saves the value of control with focus
Message
De
09/06/2003 23:26:34
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00798195
Message ID:
00798201
Vues:
31
Hi Brenda,

Well, there is the GetFldState() function... which is quite useful... although the title of it is about '..valid...setfocus'... there is a good thead running now which covers some of this issue.... see thread 797581....


Ric

>At what version of VFP will it save the value of the control that currently has focus. I am looking at an older program and it has the following logic for every control and in every SAVE method. Is there a version of VFP where this type of logic is no longer needed?
>
>
>FOR EACH CONTROL
>csource = this.controlsource
>&csource = this.value
>
>AT THE SAVE
>if type ("this.lastcontrol") == "O" and not isnull(this.lastcontrol)
> if !this.lastcontrol.valid()
> return .f.
> endif
>endif
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform