Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP version that saves the value of control with focus
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
VFP version that saves the value of control with focus
Divers
Thread ID:
00798195
Message ID:
00798195
Vues:
69
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform