Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
My labels have a mind of their own
Message
From
26/08/2006 13:15:19
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01148417
Message ID:
01148834
Views:
19
This is what I've discovered. So, is this a "bug"? I'd expect that if I Autosize a right aligned label, that when the caption changes, it should simply grow to the left keeping the right side anchored!



>Mike,
>
>Autosize + right aligned just plain won't work when you conside that VFP has a .Left property and not a .Right.
>
>Set .Autosize = .f., .Alignment = 1, make all your labels the same .Width like 100 (ie the available space alotted for the labels on the form), use the alignment tool to align the right edges of all your labels.
>
>>I suppose I could jump thru these hoops to dynamically calculate the width of my labels, but, gosh darn it, it should just work by setting the properties! BTW, I'm talking about labels and not textboxes.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform