Caroline,
Thank you.
I'm sure all this knowledge will come i handy some day :-)
As for now I've opted for an In-top-level form. It's simpler by far than mucking about with the toolbar.
I don't know if this has any bearing on your suggestion, but I run all of my stuff in the desktop, _screen = off.
>>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
Peter Pirker
Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?
(Woody Allen)