App builder

Discuss PC Developer and Web Developer projects and features here.
Post Reply
wayne_millard
Posts: 94
http://meble-kuchenne.info.pl
Joined: Fri Dec 04, 2020 6:12 pm
Has thanked: 1 time
Been thanked: 9 times

App builder

Post by wayne_millard »

Hi Matrix team,

How can you do tool tips? Can you change the colour of the seven segment display with a veriable so you can change in the code.

Thanks
Wayne M

Steve-Matrix
Matrix Staff
Posts: 1234
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: App builder

Post by Steve-Matrix »

For tooltips, you could create an invisible object with text. When you want the tooltip to show, position it correctly and set the text appropriately, then make it visible.

For the 7seg colour, you may be able to use the SetValue built-in property function to directly modify the colour that you want to change. You will need to do this for each individual segment.

Other users might know a better way of doing this.

BenR
Matrix Staff
Posts: 1707
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 435 times
Been thanked: 598 times

Re: App builder

Post by BenR »

Hi Wayne,

Tooltips for properties can be added by clicking in the drop down here inside the edit property window.
Props.jpg
Props.jpg (14.04 KiB) Viewed 2121 times

As for changing the value of a propety, this is done by clicking on the property you want to change to get the property variable at the bottom of the property window.

Then as Steve says use the Component.Property.SetValue function to set the RGB value of the property.
SetValue.jpg
SetValue.jpg (97.77 KiB) Viewed 2121 times

Post Reply