Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Resize does not work with toolbar
Message
 
 
To
09/07/2004 18:05:11
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00922452
Message ID:
00922883
Views:
25
Peter,

Toolbars have their own rules about resizing, they basically only allow themselves to "flow" around the contained objects. I'm not sure you'd ever get it to work the way you want. Why not just use a form with AlwaysOnTop = .t.?

>Yes, I actually did put a treewiew on a toolbar. Works too! It is after all just another container, so why not?
>
>It's all perfectly straightforward, but maybe I'm being unclear in my explanation.
>
>What I meant to say, and thought I'd said, was that the code example in the Resize method below works very well when the TreeView (named TreeMenu) is on a form or formclass.
>
>Since the ToolBar class has a Sizeable property and a Resize method, it seems only fair to assume that it can be resized in a similar fashion, so the code should work.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform