question

Steven Chen avatar image
0 Likes"
Steven Chen asked Jason Lightfoot edited

Use custom GUI tool to create modal dialog

Hello,

With createview() command can open a custom GUI window. Is it possible to create a modal dialog which halts FlexScript until user close the window, and receive what user inputs?

FlexSim 23.0.1
custom guimodal
5 |100000

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

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Jason Lightfoot edited

1676731035133.png (11.3 KiB)
· 2
5 |100000

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

Steven Chen avatar image Steven Chen commented ·

Hi Jason,

I create the subnode FS_MODAL but it doesn't work.

What is the meaning of object's style attribute?

screenshot-2023-02-21-092636.jpg

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Steven Chen commented ·

The attribute layer is accessed by the > object expander.

1676980711512.png

0 Likes 0 ·
1676980711512.png (13.2 KiB)
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered

You mean something like msg command to display a window and a button?

5 |100000

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