question

Felipe Capalbo avatar image
0 Likes"
Felipe Capalbo asked Logan Gold answered

Tracker disappears when using it with HTML.

I am building a GUI and i'm looking foward to use a Tracker inside it.

When I use a "Display" to be refreshed by the Tracker value, as does to set an exact value to the Tracker, the following error occurs:

I set an exact value inside the display and the Tracker hides behind the HTML layer.

You can see it in the attached video.

This model was used to copy the refreshable structure (Tracker + Display):

trackergui.fsm

FlexSim 24.1.0
guihtmltracker
trackergui.fsm (25.7 KiB)
· 5
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 Jason Lightfoot ♦ commented ·

Are you just putting that GUI as a GUI Class widget on a dashboard and then opening the model in the webserver?

0 Likes 0 ·
Felipe Capalbo avatar image Felipe Capalbo Jason Lightfoot ♦ commented ·
I am using the Tracker as a GUI widget. I also used the GUI HTML widget to enhance the visuals.

When a manually set a value on the refreshable display, the Tracker widget hides behind the HTML layer.

0 Likes 0 ·
Sam Stubbs avatar image Sam Stubbs ♦ commented ·
Hey we tried to recreate the issue on our end, but were unable to. What steps did you take in the video above to get that result?
0 Likes 0 ·
Felipe Capalbo avatar image Felipe Capalbo Sam Stubbs ♦ commented ·
I will recreate the issue in a meta model and send here.
0 Likes 0 ·
Felipe Capalbo avatar image Felipe Capalbo Sam Stubbs ♦ commented ·

GUI_METAMODEL.fsm

Here it is. As you will be able to see, the HTML messup with the tracker.

0 Likes 0 ·
gui-metamodel.fsm (34.9 KiB)

1 Answer

·
Logan Gold avatar image
0 Likes"
Logan Gold answered

Hey @Felipe Capalbo, the issue is happening because the HTML control overlaps the tracker and edit controls, and there is no easy way to keep the HTML control in the "background". When you go to make certain changes, the HTML control gets the focus and obscures the other two controls, without a good way to bring focus back to the tracker control.

The easiest solution is to make sure the HTML control is sized so it does not overlap the other controls. If it's just a visual thing you want, you could probably add some elements around the tracker and edit controls. Just make sure nothing overlaps.

Otherwise, you might have better luck doing something similar in a Dashboard. It seems like the Dashboard has a better way to show widgets when things overlap (probably depending on how they are ranked in the tree); better than how the GUI builder displays overlapping controls.

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.

find answers

Think you know an expert who is sure to have the answer to this question? Reach out and ask them to post an answer.