Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One more minute and I will beat my head on the table
Message
From
24/05/2006 19:44:38
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01124687
Message ID:
01124745
Views:
11
This message has been marked as the solution to the initial question of the thread.
>>>It works in the sample form, but I can not make it to work in my form. Also I'm unable to make it work by resizing the mover in design-time and not using anything else.
>>
>>Anchors do not work at design time, only at runtime.
>
>I understand that. I put a Mover on the form. The class has Anchor property set to 0. I set it to 15 in the form. I made the height of my mover smaller than default. When I run the form, it doesn't display its objects correctly.

In trying to follow this thread, I think you're missing something very basic here. Setting the Anchor property on your mover class will only have an impact on the size/position of the mover if it's container is resized. If the container doesn't have it's anchor properties set, it's not resizing when the form resizes, therefore, you're object won't reposition or resize either.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform