Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set VFP toolbar width
Message
From
06/06/2018 17:45:39
Walter Meester
HoogkarspelNetherlands
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01660588
Message ID:
01660613
Views:
51
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform