Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Toolbar / Form background color problem
Message
De
17/11/2009 12:30:16
 
 
À
17/11/2009 12:05:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01435173
Message ID:
01435240
Vues:
68
Hi Fabio,

Thank you.

I'd arrived at someting similar, only with a Shape.
.oToolBar.Shape1.WIDTH = .oToolBar.WIDTH + (.WIDTH - .oToolBar.WIDTH)
Where WIDTH is the forms width.

I tried to do it in the toolbars refresh method, but that didnt quite work. It did resize, but except for the initial form, always to less than desired.

Regards

Peter


>>Adding the toolbar in the forms activate method causes a pageframe to shift downwards and leaves the space to the right
>>of the toolbar in default color.
>>
>>I've tried various methods to size the toolbar to the width of the containing window, including sizing a shape at runtime, but nothing quite works.
>>
>>I imagine it's because the number of visible cmdbuttons on the toolbar varies depending on the form being run.
>>
>>Any and all suggestions are appreciated.
>>
>>TIA
>
>try to:
>
>add into the toolbar a commandbutton "Invisible" "disabled"
>change this button's width to resize the toolbar's width.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform