Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stubborn Caption Placement !
Message
From
18/12/2015 13:50:18
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01629113
Message ID:
01629116
Views:
68
This message has been marked as a message which has helped to the initial question of the thread.
>Hi Gang!
>
>Quickie Question.....
>
>I have two fields on the form
>
>field1 field2
>
>in line with each other.
>
>I will change the caption of field1 and field2 as needed.
>
>I want field2 to slide over to the right so as not to overlap with field1 when field1 changes its caption.
>
>I tried this....
>
>Thisform.field2.Left = Thisform.field1.Left + Thisform.field1.Width + 20
>
>But the width of field1 stays the same as what was in the designer.... it did not change!
>
>Any idea what I am doing wrong? Sometimes I feel so dumb..... sigh....
>
>Thanks
>Tommy

Make sure AutoSize is set to .T.. You may also need to turn off anchoring temporarily if the controls are anchored.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform