Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Forms - Resizer Class
Message
From
28/01/1999 22:22:02
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00166422
Message ID:
00181646
Views:
17
Thanks,
I have not signed on for a while. That's the answer I was looking for.

>Robert,
>
>AutoSize=.t. labels don't get their .Width updated until the first form.Activate, the .Width is not correct at lbl.Init() or frm.Init() either. Right aligned labels don't necessarily need to be AutoSized.
>
>>I just built a resize class using the code found in the Jan. Foxpro Adviser article by Donald Bouchier. It works great. But I wanted to add an enhancement. I wanted to reposition selected labels based on the right alignment position rather than the left. I have a group of text I want to maintain the right alignment. Adding the code was not that hard but what I found was that in the Init of all labels the width calculates to 40. So I had to reset the "originalWidth" on all labels on the second call to the resize class to get the correct right alignment position. Am I missing something or what.
Previous
Reply
Map
View

Click here to load this message in the networking platform