Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Label.AutoSize
Message
 
 
To
16/04/2008 14:00:33
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01310962
Message ID:
01311243
Views:
29
>I have no idea why this works, but it did........with one modification. The width of the textbox was being picked up based on the width in the base class, not the width in the instance of the container. I put your Visible off/on trick at the beginning of the method as well and it seems to be working. We'll see how well it works in the middle of the application.
>
>One other benefit of the SetCaption method is that I no longer need the Caption_Assign method so I didn't have to subclass the base textbox class.
>
>Thanks to all for your contributions.
>

I guess we're talking about label here. I also hope you're not using VFP base classes in your forms but rather some classes.
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