Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 15:39 20 Nov 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Radio Buttons

Author Message
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 12:26am 17 Feb 2022
Copy link to clipboard 
Print this post

I am using 4 Radio Buttons, all works OK but I would like one of the buttons to be set at startup. Is there a way to do this. 3 of the buttons have a value and one is 'OFF'
I would like the OFF button to be set at startup. At the moment I have to touch to set off.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3308
Posted: 02:59am 17 Feb 2022
Copy link to clipboard 
Print this post

You can set a radio button off/on with CTRLVAL(control-nbr) = 0 or 1.
If you want to have a button set at startup you would do that immediately after defining the group of buttons.

Geoff
Geoff Graham - http://geoffg.net
 
palcal

Guru

Joined: 12/10/2011
Location: Australia
Posts: 2006
Posted: 03:10am 17 Feb 2022
Copy link to clipboard 
Print this post

Thanks Geoff.
"It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all"
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025