Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label.AutoSize
Message
 
 
To
16/04/2008 13:55:41
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01310962
Message ID:
01311240
Views:
24
>>Gregory,
>>
>>In earlier VFP versions you have to switch visible property of the label back and fourth to make it resize.
>
>Dunno Nadya,
>
>I've only needed it once - in vfp6 - and this worked back then
>
>
>=this.AddObject('_' + padl(m.i, 4, '0'), 'MapMultiLineToolTipLabel')
>		with this.Controls(this.ControlCount)
>			.Top = m.nHeight
>			.Left = 5
>			.Caption	= aa[m.i]
>			
>			
>			.AutoSize = TRUE
>			.Visible = TRUE
>			=INKEY(.0001)
>                            && here the width was correct
>
Are you sure you needed inkey() in your case?
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