Rank: Advanced Member
Groups: Registered
Joined: 3/25/2019(UTC) Posts: 38 Thanks: 1 times Was thanked: 5 time(s) in 5 post(s)
|
Hi,
I want to hide a textbox when the value of a datasource field is below a specific value (opacity = 0), if the value of the field has the specific value the opacity must be 1, if the value of the field is higher than the specific value the the opacity must be 0.5
I already managed the change the opacity bases on the value in the field.
I have a datasource from 0 to 1 with increments of 0.1 and when I scroll in the datasource the opacity is following
Can someone help me with this?
Kind regards Koen Deschepper
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,221 Location: Belgium Thanks: 293 times Was thanked: 955 time(s) in 790 post(s)
|
you probably have a good reason for the 3 state opacity thing but you will not be able to do the evaluation of certain level within your XAML code. You will need code behind and compile the title into a .dll file. On the other hand why no use regular vMix scripting checking your datasource value , test it and then do a transparency value to another textblock that is binded to your opacity of your text Or use it to set the alpha of the title (input)
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/25/2019(UTC) Posts: 38 Thanks: 1 times Was thanked: 5 time(s) in 5 post(s)
|
Hi doggy, thx for your quick reply.
I need to control 12 textboxes so playing with the alpha of the title is not an option. I will go for the scripting in vmix.
Kind regards
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 3/25/2019(UTC) Posts: 38 Thanks: 1 times Was thanked: 5 time(s) in 5 post(s)
|
Hi,
I have added the opacity values in my datasource for each textbox
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close