Button State

Christie Pandoras Box Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Pandoras Box you are using. If your question is related to hardware, please state if you are using coolux hardware (which one) or if you built your own.

Button State

Postby sweethorizon » Wed Jan 17, 2018 8:17 pm

In Widget Designer 4.7 I would use customscript1.value to get the state of the button (on or off). I would use this in a mouse over function to cue a video and mouse exit to take the video out of cue state. Pressing the button would of course play the video. It looks like this function is not in WD 6. There doesn't seem to be a .value member to the CustomScript1 command nor is there a member in the Context command either. I see that the CustomScript node reports on the state of the button so I know it is reporting the state somewhere.

Am I missing this? Did it get moved to a different command? Or is this not working yet in version 6?



Thanks.

Brian
sweethorizon
 
Posts: 2
Joined: Sat Sep 26, 2015 9:32 pm

Re: Button State

Postby Mike Mengen » Thu Jan 18, 2018 8:24 am

Hi Brian,

you can get the state of a Button with CustomScript1.ButtonStyle

Regards
Mike
Mike Mengen
 
Posts: 32
Joined: Thu Aug 13, 2015 1:50 pm

Re: Button State

Postby sweethorizon » Sun Feb 04, 2018 8:13 pm

Thank you. Exactly what I was looking for.
sweethorizon
 
Posts: 2
Joined: Sat Sep 26, 2015 9:32 pm


Return to Pandoras Box V6

Who is online

Users browsing this forum: No registered users and 15 guests

cron