question

Borja Lorenzo avatar image
0 Likes"
Borja Lorenzo asked Jason Lightfoot answered

Using hotlink or coldlink to disable a checkbox button

Hello
In my GUI, I have two checkboxes. I want one of them to be disabled and appear greyed out when the other is active. I can achieve this by adding an onPress attribute to the dominant checkbox. How could I do this with a hotlink or coldlink?
Would it make sense to use the hotlink or coldlink on the same checkbox that I am trying to disable?


Thanks in advance.

hotlink_coldlink.fsm

FlexSim 24.1.1
guicheckboxcoldlinkhotlinkwindowgray
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered

What you have is fine and I think makes more sense than exporting if you can use hotlink/coldlink. You could also consider using OnKillFocus events to update the other checkbox.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.