Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3762

Colored desktop buttons

$
0
0

I have searched for a way to have colored desktop buttons; apparently the Mac software dos not allow this. I found a simple system that gives me what I want. Some users have said to create your own PB with a rectangle, then use the various commands to make it work. That would work, I’m sure. But it removes all the attributes embedded in the language for the DesktopButton, so I searched for a better way (for me) - on the Mac.

I create rectangles with rounded corners - in my case the buttons are 80 px wide and 20 px high, so I made a rectangle with a width of 80 px and height to 22 px with an 0.5 px border, made it transparent and placed it over the existing PB, and ordered it to the back and made it transparent.

It appears to work as you can see - it doesn’t interfere with the DesktopButton actions, and improves the recognition of the buttons for use.

10 posts - 6 participants

Read full topic


Viewing all articles
Browse latest Browse all 3762

Trending Articles