>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
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?