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:
00923256
Views:
28
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   && 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
Peter Pirker


Whosoever shall not fall by the sword or by famine, shall fall by pestilence, so why bother shaving?

(Woody Allen)
Previous
Reply
Map
View

Click here to load this message in the networking platform