Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement