Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Set VFP toolbar width
Message
 
 
À
06/06/2018 13:16:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
01660588
Message ID:
01660600
Vues:
54
>>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.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform