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:
00923221
Views:
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
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform