question

Murilo B avatar image
1 Like"
Murilo B asked Phil BoBo edited

Docking a GUI - "apply" button stops working

Hello!

I'm having trouble trying to dock a custom GUI in the model. When I do this, the "apply" button stops working.

The model that I used is attached. gui.fsm

Thank you


FlexSim 20.1.3
flexsim 20.1.3gui
gui.gif (1.4 MiB)
gui.fsm (24.5 KiB)
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

·
Phil BoBo avatar image
1 Like"
Phil BoBo answered Phil BoBo edited

The apply attribute on a button applies the links of the owner view. When you use a tabwindow to dock the window into the main panel, you no longer have an owner view so the apply attribute does nothing.

If you want to apply from a tabbed window, call applylinks() from OnPress instead of using the apply attribute.

gui_1.fsm


gui-1.fsm (24.3 KiB)
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.