How to set Hover Back/ForeColor by CTRLScript?

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
uxout
Posts:82
Joined: Wed Jul 20, 2016 12:07 pm

How to set Hover Back/ForeColor by CTRLScript?

Post by uxout »

Hello,

is there a way to modify the configuration of a graphic object (eg. a button) by using a CTRLScript function?

Regards

uxout
Posts:82
Joined: Wed Jul 20, 2016 12:07 pm

Re: How to set Hover Back/ForeColor by CTRLScript?

Post by uxout »

I guess not, maybe a future update will add this feature? :D

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: How to set Hover Back/ForeColor by CTRLScript?

Post by adaneau »

Hi,

You are right, I found the property in the xml but it cannot be accessed via ctl code ...

<prop name="HoverBackCol">yellow</prop>

However I see a quick workaround using the mouseover script :)

You can even embed it into a OOP with your own custom hover property to make it usable everywhere.

BR
Alexandre

3 posts • Page 1 of 1