Hello Guest it is April 24, 2024, 12:52:07 PM

Author Topic: Buttons with transparent background? How?  (Read 1093 times)

0 Members and 1 Guest are viewing this topic.

Buttons with transparent background? How?
« on: September 26, 2022, 08:33:06 PM »
Hello,

I'm playing with Machscreen V1.73, modifying a pre-existing screenset.

There is a way to make a new button completely transparent, so only the underlying image is visible?
If I click on the added button, I can set any background color from a palette. But no way to choose a "none" color...
Maybe the solution is under my eyes, but I cannot see it...  :-[
Re: Buttons with transparent background? How?
« Reply #1 on: September 26, 2022, 08:52:58 PM »
SOLVED!  ;D

1. Add an "Image button" instead of a "Button".
2. Machscreen will prompt you for an image.
3. Choose any small image on your PC and click "Open".
4. Select you new ImageButton and search for the "Path" property. Click on it.
5. the complete filepath will be shown in a yellow field. Erase it completely and hit the RETURN key.
6. Done.