question

Julio R avatar image
0 Likes"
Julio R asked Jeanette F commented

How to get a checkbox GUI always checked when I open a dashboard

Hello, I have a similar issue as this question:

How to update the chekbox initial value (in a GUI) - FlexSim Community

The difference is i am using one of the new GUIs in a dashboard with the following simple code in order to hide a layout:

1711648587114.png

How can I get the checked checkbox whenever I open the dashboard?

FlexSim 24.0.0
guicheckbox
1711648587114.png (21.1 KiB)
· 1
5 |100000

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

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Julio R, was Jason Lightfoot's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered

Add a label 'shown' on the background and link the checkbox to that. Use the default show/hide option from the picklist.

CheckboxShowmodelBackground.fsm


5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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