Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize does not work with toolbar
Message
De
10/07/2004 03:17:05
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00922452
Message ID:
00922920
Vues:
24
David,

Thank you for your time and help, which (gripe) wouldn't have been neccessary if the people who wrote the documentation had bothered to mention the fact that resize works differently for toolbars.

I tried it with a form before going for the toolbar, but it doesn't have the look and feel that I want. The toolbar seemed like a good idea, because it gets 'embedded' in the form and it's closeable.

I'll think of something else or just live with the facts.

BR

Peter





>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.
Peter Pirker


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

(Woody Allen)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform