Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize does not work with toolbar
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00922452
Message ID:
00922680
Views:
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

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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform