Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anchor builder
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01124590
Message ID:
01124659
Views:
9
>>Now, I set my left listbox anchor to 135, right to 45, buttons to 768 (as Tamar said) in my cntMover class. I placed several instances of this class into another container class and I add it programmatically to the page of the pageframe. My listboxes and buttons seem to not change sizes or positions at all. What should I do to make anchor work?
>
>Anchoring of controls is relative to the container they belongs to (Container, Page or Form). IOW, you have to setup Anchor property of contaner(s) accordingly.

I don't understand what should I do with the container's Anchor. If I set inner objects anchor properties, does it mean that my inner objects would be resized properly?

In other words, I have a simple container class with two listboxes, label and 4 buttons. I set listboxes and buttons anchor properties. I placed this container object on the page and changed its size. Why I do not see any changes in my listboxes and buttons?
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