Switch Button - Change Bitmap

For general discussion related FlowStone
Post Reply
Nowhk
Posts: 275
Joined: Mon Oct 27, 2014 6:45 pm

Switch Button - Change Bitmap

Post by Nowhk »

I don't find the location where the Bitmap of the Switch Button (on/off) is stored.
I'd like to clone the module, and change with my own made in Photoshop.

But how can I change custom Bitmap for my Buttons? I don't find any "Locate Bitmap" for a Switch Button. And I navigate inside>inside>inside modules of the Switch Button, finding nothing in this Bitmap-Inception.

Can you suggest to me a way? Sorry for this noob questions, but I'm a noob, starting using FlowStone 5 days ago :(
djbrynte
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am
Contact:

Re: Switch Button - Change Bitmap

Post by djbrynte »

if you mean the ruby one. Its the load animation the red thing inside who change the bitmap. Trigger.
Nowhk
Posts: 275
Joined: Mon Oct 27, 2014 6:45 pm

Re: Switch Button - Change Bitmap

Post by Nowhk »

djbrynte wrote:if you mean the ruby one. Its the load animation the red thing inside who change the bitmap. Trigger.

Here I can load the "Non triggered" bitmap. But what's about the bitmap when the Switch is on?
I mean, this is an example of the button (green not clicked, red clicked, or the opposite I don't mind, I can switch the bitmap):

button.png
button.png (388 Bytes) Viewed 12687 times

after I click it, the "bottom" part vanish, even if I specify 100x100 instead of 100x200.

Do you see what I mean? I guess On/Off are two different images (or better, the same image, just moved up/down, as for CSS/background position in the web).
User avatar
Loopeytunes
Posts: 57
Joined: Tue Jul 13, 2010 11:07 am
Location: Yorkshire, UK
Contact:

Re: Switch Button - Change Bitmap

Post by Loopeytunes »

save your on/off image horizontal like the image below and then try loading the image into the switch button.

After you have loaded the horizontal on/off image you will then need to set the "CellSize" to the exact width that your "Off" part of the image is in pixels.

Now it should work :)

Image
Nowhk
Posts: 275
Joined: Mon Oct 27, 2014 6:45 pm

Re: Switch Button - Change Bitmap

Post by Nowhk »

Oh it's by "horizontal", not "vertical" :)

Thank you, it works like a charm!!!
Post Reply