11-04-2009 03:35 AM
Hi experts,
i have a small problem with a part of my program. So i have 2 buttons. If button 1 is switched to logical "1" then button 2 should be switched to logical "0" and button 1 stays "1". If button 2 is switched to logical "1" then button 1 should be switched to logical "0" and button 2 stays "1".
I tried to write a program for it but it doesn't work perfectly. I added it as an attachment.
Thank u for your help,
t
Solved! Go to Solution.
11-04-2009 03:37 AM
11-04-2009 03:41 AM
11-04-2009 03:57 AM
11-04-2009 05:33 AM
11-04-2009 05:42 AM
11-04-2009 09:00 AM - edited 11-04-2009 09:01 AM
Here is a way using booleans, and using radio buttons. They behave slightly differently. If you click on the boolean that is true, it switches values (which is probably undesirable) whereas hte radio button doesn't do anything. This can be coded for in any number of ways.
11-04-2009 09:11 AM - edited 11-04-2009 09:15 AM
Well, here is the simplest code around I came up with. Another one involved using Disabled property nodes. The way i'm posting is better because you get feedback that you clicked the button.
11-04-2009 10:56 AM
Hello Tim,
that is exactly what i need. Thank u very very much!
have a nice evening,
tom
11-04-2009 10:59 AM