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:
00922680
Vues:
27
>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

I question your comment about "This" being the toolbar in the code you've posted. I've never seen a treeview on a toolbar before. Plus, you stated that the code is in the form class. Therefore, I assume that "THIS" is really referring to the form.

So have you actually put a treeview in a toolbar and are trying to resize the toolbar?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform