Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Bug with label class having both wordwrap and autosize t
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00103705
Message ID:
00104185
Views:
26
>Barbara and Nancy,
>
>There was a bug in VFP3 that caused all sorts of problems when subclassing WordWrapped labels, so I've never used them. But I'm curious how you'd expect those to featuere to cooperate with each other in the first place. AutoSize says make this just as big as it needs to be. WordWrap says I know this label won't fit within the horizontal space .Width I've assigned it so vary it's .Height to show the content. I'd call these mutually exclusive properties.

Well, David, it's one of those cases where my basic textbox class has AutoSize on, and I needed a 2-line caption so I put WordWrap on too. Not thought out thoroughly, I agree, but these things happen when you're busy. And I never had a bit of trouble - only looked for the combination when Nancy had problems.
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform