Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anchor and restoring state
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
MS SQL Server
Miscellaneous
Thread ID:
00980802
Message ID:
00980897
Views:
51
This is how my control works. But the VFP 9.0 Anchor are tied to the Resize event internally. Calling the Resize event as a method does not resize the control as according to the anchors.

>I'm thinking the state restorer will have to be modified to have a manual method that causes it to restore the form size and position. That way you can load the form with visible = .f. and then in the init of the form manually restore the state and then make the form visible.
>
>
>
>
>>Yes, I am interested in this too. I have here in the download section a control that does just this (download #19100). I just check it out, and I too see that the controls do not resize when the form size changes programmitically. The control is calling the Resize and Refresh events after changing the diminsions, but the control do not resize. I would like to update the control to respect the VFP 9.0 Anchor property, but I too am stumped.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform