Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble setting the backcolor
Message
 
 
To
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:
01251165
Views:
24
Hi Cesar,

I was thinking along these lines too yesterday, but what if we want to undock the toolbar? Somehow we would need to control the container's size to occupy the whole area in either state.

Great that the thread gave you lots of new ideas, I would have to re-read it carefully too :)

>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.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform