Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anchor property
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01020620
Message ID:
01020627
Views:
45
Mike,

Are the controls all laid out correctly in the form designer? Do you have an code in the form/class inheritance tree that is perturbing the .Top or .Left of the controls?

>I am new to VFP9 and am trying to use the new anchor feature.
>
>I have a simple form with a grid, a textbox, a combobox, and a command button. The grid has an anchor property of 15 and is positioned near the top-left corner of the form. It fills the width of the form and most of the height. The textbox, combobox, and command button are positioned at the bottom of the form below the grid and have anchor properties of 6, 12, and 12 respectively.
>
>When the form is opened, the grid and the command buttom are sized and positioned correctly, but the textbox and combobox are not. They are positioned on top of the grid. All of the controls move correctly based on their anchor property, they just are not in the correct position.
>
>If I remove the grid from the form, the remaining controls are positioned correctly when the form is opened.
>
>Any ideas on how to fix this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform