Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design time re-size
Message
From
23/06/2009 15:18:13
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01406083
Message ID:
01407869
Views:
52
This message has been marked as a message which has helped to the initial question of the thread.
>>>Hi David,
>>>
>>>I got the code working correctly by placing the code in the Init of the container. But now I'm facing another problem. When I re-size the form the inner controls do not want to resize properly. I tried using 45 for anchor settings of the container and calling code to adjust positions from Resize - this didn't work properly. Tried several other ideas - nothing worked so far.
>>>
>>>In other words, I only have a partial success now - the form starts with listboxes / buttons positioned correctly, but once I start playing with resize, it goes out of control.
>>>
>>
>>Get rid of the anchors and place all resizing code in Form.Resize event. It will work.
>
>Do you mean I need to call myMover.Resize from the form's Resize? I want to make self-resizing mover control without a need to extra call from form's methods.

Yes, I would just call it from Form.Resize.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform