>On a formclass with a treeview control this works perfectly fine:
>
>
>WITH THIS
> .TreeMenu.HEIGHT = (.HEIGHT - 15)
> .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