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