Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label.AutoSize
Message
From
16/04/2008 14:10:46
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01310962
Message ID:
01311244
Views:
34
>>>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?

Yes, I am, for without it did not work
Gregory
Previous
Reply
Map
View

Click here to load this message in the networking platform