Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize does not work with toolbar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00922452
Message ID:
00923221
Vues:
26
>On a formclass with a treeview control this works perfectly fine:
>
>
>WITH THIS   && The toolbar
>	.TreeMenu.HEIGHT = (.HEIGHT - 15)  && The treeview
>	.TreeMenu.WIDTH  = (.WIDTH  - 25)
>	.TreeMenu.TOP    = (.HEIGHT - .TreeMenu.HEIGHT) / 2
>	.TreeMenu.LEFT   = (.WIDTH - .TreeMenu.WIDTH) / 2
>ENDWITH
>
>
>On a toolbar it does zilch. Why?
>
>BR & TIA
Peter,
I'm not sure if this is what you are looking for but you can force the toolbar resize() to run by hooking it to the _screen. That way when your _screen is resized the toolbar Resize() runs and your TreeView is resized.
HTH
Caroline
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform