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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only