Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resizing AddObjects() controls
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00191249
Message ID:
00191786
Views:
21
>Dan,
>The form (with the resize code) was VMP, as were the original textboxes I worked with. I tried the addobject() with plain VFP which didn't resize at all and with VMP which not only didn't resize but moved to top=0 and left=0 and width = original class size, as I said earlier.
>

Barbara- I tested with what I could put together that you are doing:
Blank form, one button with click code:

SET CLASSLIB TO c:\myclasses.vcx
THISFORM.Addobject('mytext1','mytext')
THISFORM.MyText1.Left = 50
THISFORM.MyText1.Top = 50
THISFORM.MyText1.Visible = .T.

Running the form, clicking the button, and resizing the form does not cause the behavior you describe...

Can you break your process down incrementally until you find the sinister factor?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform