Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize ActiveX controls in a container
Message
From
07/04/2000 17:01:04
 
 
To
04/04/2000 17:28:21
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00355310
Message ID:
00357114
Views:
20
>When I place an ActiveX in a container to behaves badly on resize events. It acts like it is not part of the container at all and displays parts of itself outide the bounds of the container. This works with the the MS ListView and with a ImageN image control. Any suggestions? TIA
>
>Jim

We got around this by forcing the container to do a Refresh inside its Resize method.

1) resize the container
2) refresh the container
3) resize the ActiveX control

Note:
All of this was within the Form Resize,
thisform.container.Width=xxx
thisform.container.Refresh()
thisform.container.ActiveX.Width=xxx

HTH,
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Reply
Map
View

Click here to load this message in the networking platform