Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize ActiveX controls in a container
Message
De
07/04/2000 17:01:04
 
 
À
04/04/2000 17:28:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00355310
Message ID:
00357114
Vues:
21
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform