Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP return difference value from 2 diff situation
Message
From
06/02/2002 01:58:30
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00614712
Message ID:
00615886
Views:
20
Hi,
thak you for reply.
My form may contain couples of containers. Each container also container fews control such as image, label and etc. I need toresize my form based on the container width. Also, the container will arrange it's controls and resize itself to enable all controls in "viewed mode".

Therefore, I will loop thru all container, calculate the space needed, then resize the container, and also the form. All of the containers will be added programmatically and in invisible mode.
I found that, if my form is bigger than the container, the width returned from container.label.width is not correct. I used to change my form.width to the bugger size, then label.width will reset to correct value. WHy?

BTW, i did solve it by "forcing" all controls in container to be visible (even the container itself is not. It works!!!

Any ideas?

I am using VFP SP3.

Thank you
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Previous
Reply
Map
View

Click here to load this message in the networking platform