Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize does not work with toolbar
Message
 
 
À
09/07/2004 18:05:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00922452
Message ID:
00922883
Vues:
24
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform