Disabling radio buttons not possible ?

News,announcements,programming,fixes,game patches & discussions.

Moderator: troed

Post Reply
User avatar
exxos
Site Admin
Site Admin
Posts: 23499
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Disabling radio buttons not possible ?

Post by exxos »

Ticked and un-ticked worked.. but disabling the button doesn't show in the interface editor, and even if I just load the RSC up in my program, its not disabled.. I could not get "crossed" to work either..Most of the other options seem to work fine though..

:WTF: :stars: :stars:

Capture.JPG
Capture.JPG (103.21 KiB) Viewed 4296 times
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
thorsten.otto
Posts: 148
Joined: Mon Nov 04, 2019 2:20 am

Re: Disabling radio buttons not possible ?

Post by thorsten.otto »

Your button has no text, so there is nothing that could be displayed as "disabled".

Crossed does not work well for buttons, either. The cross will be drawn in WHITE, because the text is assumed to be BLACK. Best option is to use a BOX instead, which then should also be SELECTED:
snap003.png
snap003.png (9.6 KiB) Viewed 4275 times
snap002.png
snap002.png (182 Bytes) Viewed 4275 times
Edit: due to the SELECTED state, that might not work very well for radiobuttons. So maybe better use some custom USERDEF objects, those will also look nicer.
User avatar
exxos
Site Admin
Site Admin
Posts: 23499
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Disabling radio buttons not possible ?

Post by exxos »

thorsten.otto wrote: Sat Apr 25, 2020 6:21 pm Your button has no text, so there is nothing that could be displayed as "disabled".
Thanks. Well silly me I guess assuming it meant the tick box would be disabled. Still it doesn't make sense even with text to disable the text and not the tick box anyway. :roll:
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
exxos
Site Admin
Site Admin
Posts: 23499
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Disabling radio buttons not possible ?

Post by exxos »

Only way box seems to work with disabled is if I have the background black :roll:

Capture.JPG
Capture.JPG (1.55 KiB) Viewed 4252 times

Even turning off "selectable" the button still gets a tick when clicked. I will just pop up a warning box instead, starting to wish I never started programming this stuff.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
Smonson
Posts: 708
Joined: Sat Oct 28, 2017 10:21 am
Location: Canberra, Australia
Contact:

Re: Disabling radio buttons not possible ?

Post by Smonson »

It's easy to forget just how frustrating programming was before Google was there to help us find the easy answers. This is how I learned C originally as a teenager, with just experimentation and neverending failures.

Exxos, if you get completely sick of this project, I could take over it for you.
User avatar
exxos
Site Admin
Site Admin
Posts: 23499
Joined: Wed Aug 16, 2017 11:19 pm
Location: UK
Contact:

Re: Disabling radio buttons not possible ?

Post by exxos »

Smonson wrote: Sun Apr 26, 2020 12:54 pm It's easy to forget just how frustrating programming was before Google was there to help us find the easy answers. This is how I learned C originally as a teenager, with just experimentation and neverending failures.
Yeah, never-ending trial and error with hardware and software is how I spend my days :roll: Other than the manual and a few example programs which don't really help much, there is pretty much no way to work out this stuff out on your own.

I mean sure there are books and stuff about it all, tell you everything you need to know, but don't tell you the actual "how" to do stuff. if I seriously had nothing better to do, then sure I would study this in a lot more detail, but I'm not going to spend six months of time just to disable a radio button properly.

Even asking for help doesn't really help.. Like thorsten mentions doing a USERDEF , what the hell is one of those ? Of course everything is easy quick and simple when you know how.After many hours of trial and error, I'll just find a workaround. I can always come back to such issues in the future.

I'm willing to learn about it, but I need to get the program up and working relatively quickly and I cannot afford to spend the time getting sidetracked on basically trivial things all the time.
Smonson wrote: Sun Apr 26, 2020 12:54 pm Exxos, if you get completely sick of this project, I could take over it for you.
Thanks, tho I am not that far completing it really now, but this is all programmed in HISOFT BASIC which puts a spin on things as absolutely nobody has programmed in this basic that I know of for 30+ years... I know there is some buggy stuff in there for starters.So I never know if I am actually doing something wrong, or there is a bug in the lib somewhere.
https://www.exxosforum.co.uk/atari/ All my hardware guides - mods - games - STOS
https://www.exxosforum.co.uk/atari/store2/ - All my hardware mods for sale - Please help support by making a purchase.
viewtopic.php?f=17&t=1585 Have you done the Mandatory Fixes ?
Just because a lot of people agree on something, doesn't make it a fact. ~exxos ~
People should find solutions to problems, not find problems with solutions.
User avatar
Smonson
Posts: 708
Joined: Sat Oct 28, 2017 10:21 am
Location: Canberra, Australia
Contact:

Re: Disabling radio buttons not possible ?

Post by Smonson »

Even asking for help doesn't really help.. Like thorsten mentions doing a USERDEF , what the hell is one of those ? Of course everything is easy quick and simple when you know how.After many hours of trial and error, I'll just find a workaround. I can always come back to such issues in the future.
I know what you mean. It's difficult for an experienced person to see from a beginner's perspective. Taking lots of breaks is probably a good way to keep from getting over-frustrated. I have this problem every time I try to ask to my dad (a mathematician) a question about maths, and he starts getting into number theory, and interesting facts about sets... :stars:

I'm sure you'll be happy with it once it's all done and working :)
Post Reply

Return to “SOFTWARE PROGRAMMING & DISCUSSION”