Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble setting the backcolor
Message
From
29/08/2007 09:14:25
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 2000 SP4
Miscellaneous
Thread ID:
01251028
Message ID:
01251128
Views:
21
This message has been marked as the solution to the initial question of the thread.
Mark,

You can put a container in your toolbarwith the whole size of the height that you need. Then, add your buttons to the container. This way, you'll have a toolbar occupying all the space you need.


Naomi,

Thanks very much for bringing that thread about toolbars between Craig and Malcolm.
That brough me lots of new ideas.




>>I tried the following code:
>>FOR EACH loForm IN _screen.Forms
>> IF loForm.Baseclass = 'Toolbar'
>> loForm.BackColor = RGB(174,91,21) && Orange for testing
>> ENDIF
>>NEXT
>>
>>And got this as a result:
>>http://www.gardensoft.com/downloads/screencapture2.jpg
>>
>>I'll look at the thread on resizing the toolbar next.
>>Thanks,
>>Mark
>
>Yes, I also tried and found it doesn't work for Docked toolbars.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform