Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design time re-size
Message
 
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:
01407870
Views:
34
>Naomi,
>
>Subsequent container resizes shouldn't need any other code, what works to set the initial sizes/positions should work for runtime resizing. If it doesn't you should look at the pseudo code in my last reply.

I assume you mean the container Anchor should be set to something - is 45 the correct setting?

Or I'm missing something again?

Using your idea - do I have to set Anchor settings appropriately for all controls (but in the initial re-position set them to 0 and only then to right values at the end)?

>
>>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform