Topic: Use Image as a Button?

Hello Everyone,

I would like to use an graphic icon to replace for the regular button used in mvd.
When the icon is hovered over it changes to a different color and should be able to
link it to another form.


Is this possible?

Re: Use Image as a Button?

Hi Heribertom,
Yes, using icons instead of buttons is not a problem.
Every object in MVD is 'clickable' so you can place pictures, labels etc on your form and then write a bit of script to instruct it what to do when the object is clicked.
Please look at the attachment. 
In the example, I use icons which, when clicked, click an associated hidden button.  And to make it look more 'interactive', I 'nudge' the icon when it's clicked. 
I also use a label ('?') which changes color when you hover over it and which 'nudges' when it's clicked.
However, with regard to changing color of an icon, you would need to use 2 identical icons (for example, 1 blue and 1 red) and switch them when they are hovered over - you can't actually change the color of the icon itself.
Anyway, I hope this gives you some ideas.
Derek.

Post's attachments

Attachment icon imageasbutton.zip 384.7 kb, 467 downloads since 2019-01-24 

Re: Use Image as a Button?

Hello Derek,

This is PERFECT!
Just as I envisioned it.

I should be able to come up with some
nice designs.

Very excited!
Again, Thank you Derek.

Heriberto