Accesso rapido:  

Forum: General Discussion

Topic: toggle command and os2l_button
Hello, I updated today to the newest version of VDJ v2024 b8280.
With my last version everything works fine, but there have been some changes in the toggle and os2l_button command.

Example:
toggle '$loop_Dev' & var $loop_Dev == 1 ? os2l_button "RandomColor2" off : os2l_button "RandomColor2" on

In the past it was like in the description of toggle and var. If I pressed the button it changed to on and if I press again it changed to off.

Now: I press the button and get on and directly off (impulse)
If I press again its the same.

And whats also strange. The fields of os2l_button changed.
If i use:
os2l_button "11" while_pressed
I get the "11" in the field Name.
If I use:
os2l_button "11" on & wait 500ms & os2l_button "11" off
I get the"11" in the field Page.

For me it looks like two bugs in VDJ.

Has somebody else problems with this?

Best Regards
PastaFrutta
 

Inviato Wed 14 Aug 24 @ 5:09 pm
There was a bug not long ago where the buttons weren't responding and this was fixed in build 8280. Not sure if related to that ......
 

Inviato Wed 14 Aug 24 @ 5:15 pm