Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Jumping label
Message
 
 
To
26/01/2003 20:33:43
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00745598
Message ID:
00745604
Views:
22
Hi Joey,

It's known issue with label that has Aligment=Right and AutoSize=.T.. It goes back at list to VFP6, maybe earlier. The workaround is to set AutoSize back to .F. after the label has been autoresized.

>Well I didn't figure I'd personally catch any bugs, so now I can't remember where I saw (right after the install) to send the reports. So officially or not, this anomaly I believe is reproducible.
>
>Title: How to make a label control move itself by just running the form.
>
>Placing a label control to the adjacent left of a textbox will cause the control to move further left when the form is saved and run. Upon re-entry into the form designer, the label will be in the position it jumped to during the RUN process, not where you placed it on the design surface.
>
>To Reproduce:
>
>Place a textbox anywhere on your form with enough room to the left of it to place a label. Now place a label to its immediate left. Just say the caption is the default Label1
>
>1. In the Prop sheet, change the Alignment to 1-Right.
>2. Stretch the left size handles on the label to the left.
>3. In the Prop sheet, change AutoSize to .T.
>4. Save form and run it. The label will jump to the left.
>5. Quit the form and return to the designer. The label will be at its new location in the designer as well.
>
>Joey...
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform