General information
Category:
Coding, syntax & commands
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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only