Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set VFP toolbar width
Message
De
06/06/2018 17:45:39
Walter Meester
HoogkarspelPays-Bas
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01660588
Message ID:
01660613
Vues:
52
>>>Hi,
>>>
>>>I am trying to set the width of the VFP empty toolbar (it is vertical toolbar) at run time. But it does not seem to work.
>>>In the INIT method of the toolbar I put code:
>>>
>>>this.width = 110
>>>
>>>
>>>But visually, at run time, it remains about 33 (as was at the design time).
>>>
>>>What am I missing?
>>
>>You can't size toolbars. They size themselves based on their content.
>>
>>Tamar
>
>What I did is added an object LINE (because I think it is very 'light') to this Toolbar and set the Width to 110 and Height to 0. And this forces the Toolbar to show wide and empty.

I'd use a transparent and borderless container
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform