Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing AddObjects() controls
Message
From
01/03/1999 11:47:52
Eric Barnett
Barnett Solutions Group, Inc
Sonoma, California, United States
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00191249
Message ID:
00192702
Views:
20
What is the code that is handling the resize?

>I have a form with from 1 to n textboxes added with AddObject(). Each item is placed on the form 'on the fly', with the top, left, width, color etc. properties handled at load time.
>
>Everything works perfectly until I resize the form, at which point the objects all revert to left = 0, top = 0 and width = their base class width.
>
>I can certainly place a for-next loop to handle this in the form resize, but why does this happen? Identical controls placed on the form with the form-designer resize correctly.
>
>TIA
>Barbara
Eric Shaneson
Cutting Edge Consulting
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform