Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remembering position on page
Message
From
20/08/1999 11:55:52
 
 
To
20/08/1999 07:25:14
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00255763
Message ID:
00255900
Views:
32
>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
Map
View

Click here to load this message in the networking platform