Page 1 of 1

Strange behaviour of Group with Radiobuttons (Solved)

Posted: Wed Nov 01, 2023 3:51 pm
by mrcoollion
Hello LiveCode friends,

I now have a very strange behavior concerning a group that contains radio buttons.
Somehow when I start the substack after the open part of the Main card the group becomes disabled.
  • The last statement of the open Card section is:

    Code: Select all

    set the disabled of  group "grp_CodeVersion" to false

    The Properties of the group show that the group disabled selection is false.
I have no idea why after the 'open Card' section this group becomes disabled even when the properties show it to be enabled.

Hope someone has seen this behavior before or give me a clue on how this could be possible.

See PrintScreen
GroupDisabledIssue1.png
Regards,

Paul

Re: Strange behaviour of Group with Radiobuttons

Posted: Wed Nov 01, 2023 4:02 pm
by Klaus
Dag Paul,

why so cumbersome? :-)
Try:

Code: Select all

...
enable grp "grp_CodeVersion"
...
Should not make any difference, but who knows...
And maybe switch the last two statements?

Code: Select all

...
enable grp "grp_CodeVersion"
click at the loc of btn ...
...
?

Groetjes

Klaus

Re: Strange behaviour of Group with Radiobuttons

Posted: Wed Nov 01, 2023 4:50 pm
by richmond62
Perhaps, because, unlike you, Klaus, some of us take a sort of kinky pleasure in being obtuse. 8)

Re: Strange behaviour of Group with Radiobuttons

Posted: Wed Nov 01, 2023 5:43 pm
by mrcoollion
Thanks Klaus and Richmond,

Ik found the reason.
I called a command that existed in both stacks (Main and Sub). This got mixed up and therefore I got the strange behavior.
It is now working as expected.

Regards,

Paul

Re: Strange behaviour of Group with Radiobuttons (Solved)

Posted: Wed Nov 01, 2023 6:20 pm
by Klaus
Aha! :-)


Your message contains 8 characters.
You need to enter at least 10 characters.