Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Dynamic Forms - Resizer Class
Message
From
10/12/1998 22:59:13
 
 
To
10/12/1998 22:54:30
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00166422
Message ID:
00166423
Views:
13
>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.
>

Hi Robert,

If your base class lable width is 40, that is the width that VFP will initialized. You may, of course change it to some other value in the init() event of the label.

regards,

jim
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Reply
Map
View

Click here to load this message in the networking platform