logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Le-bo2d9  
#1 Posted : Wednesday, February 17, 2021 2:06:11 AM(UTC)
Le-bo2d9

Rank: Advanced Member

Groups: Registered
Joined: 3/25/2019(UTC)
Posts: 38
Belgium

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


doggy  
#2 Posted : Wednesday, February 17, 2021 2:25:20 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,221
Belgium
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)
Le-bo2d9  
#3 Posted : Wednesday, February 17, 2021 3:01:13 AM(UTC)
Le-bo2d9

Rank: Advanced Member

Groups: Registered
Joined: 3/25/2019(UTC)
Posts: 38
Belgium

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
Le-bo2d9  
#4 Posted : Wednesday, February 17, 2021 4:43:23 AM(UTC)
Le-bo2d9

Rank: Advanced Member

Groups: Registered
Joined: 3/25/2019(UTC)
Posts: 38
Belgium

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
Users browsing this topic
Guest (3)
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.