CompuServe Thread

single buttons

5 messages in this thread
#105518From: Don HansonJun 3, 1994 12:30 AM
Hello, I see someone's finally done it, so I'll ask again. 🙂 How would I _start_ a single button in the ON (red) state? My code "knows" the buttons in it on state, but I always had to push it twice to get it to turn red. (blah) please please tell me…. Don
#105577From: Jonas Ruikis [ADESK]Jun 3, 1994 9:26 AM
Don, << I see someone's finally done it, so I'll ask again. 🙂 >> Who's code was it?
#105829From: Don HansonJun 4, 1994 10:18 PM
Jonas, The YG 's new Flame has a button labelled AUTO which works as a single push on, push off button that starts out in the red/on state. There is a second button which works similarly, labeled SPECIAL, in the mapping section. Don
#105872From: Danny MercurioJun 5, 1994 11:38 AM
Hey Don, Try this: int radio0=1, radio1=2; static RadSub main_rad[]={ FILTON, feel_filter, &radio0, 0, FILTOFF, feel_filter, &radio0, 1, SCRADD1, feel_add_rem1, &radio1, 2, SCRREM1, feel_add_rem1, &radio1, 3, -1, FNULL, NULL, -1 }; By assigning a value to the "radio" variables, you can determine which button is in the "on" state when the process begins. When the "radio" variable is equal to its accompanying state variable, that radio button is "on". In this example, FILTOFF and SCRADD1 are both in the "on" state and are displayed in red when you open the dialog box because FILTOFF radio0 equals 1 and SCRADD1 radio1 equals 2. Hope this helps, Danny…
#106411From: Don HansonJun 7, 1994 10:54 PM
Danny, Thank you, I think I understand now. Just draw the one on button, toss a counter in the feel, then change "radio1" from there – excellent. much thanks, Don