General information
Category:
Coding, syntax & commands
>I am trying to get my form to remember the current control on a page when switching between pages of a pageframe. Basically what my user wants is to be able to switch between different pages of a pageframe and the system to remember the last field they were on on each page. I thought it would just be a matter of remembering the ActiveControl in the Deactivate of the Page and then using SetFocus in the Activate of the Page but the ActiveControl is not available in the Deactivate. Without having to amend each control does anyone know how this can be changed. I'm using VFP6 with SP3 applied.
>
>Martyn.
>
>PS
>In VFP3 this just worked without any extra coding.
You could use the varread(). This would give you the field or variable that the user was editing which you could then extrapolate the control from this.
Previous
Next
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