cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX modal window doesn't show up automatically after set time

BGuth.1
Senior

I have a scree with a modal window. Modal window is set to not visible by default. I want the screen to appear first and after some delay the modal window should appear. I created two interactions like this.

Interaction1:

Trigger = Screen Transition begins

Action = Wait for

Duration = 1000ms

Can trigger another interaction = true

Interaction 2:

Trigger = Another interaction is done

Choose interaction = Interaction1

Action = Show Widget

Choose widget to show = modalWindowName

For some reason, modal window never appears. Please suggest what I am missing.

5 REPLIES 5
MM..1
Chief II

Your miss is  Screen Transition begins

change this to ending.

But i test your issue and have next question. Modal window is container, i add to it in designer two next objects button and border box, but this two objects isnt showed. Why?

Changing the trigger to "end" didn't help. Same behavior.

May be they in background in your case. I have images, button and a line in my modal window and they show up fine.

i test it only on simulator and timed showing for me work without inner objects show.

When your dont, you need debug and check where code block.

I use 4.16.1 for test.

wired
Senior III

In your Screens view, maybe your modal widget is being drawn behind something else. Try making it the first widget below your screen name (and hide it using the Toggle Visibility icon).

MM..1
Chief II

I dont check , but if exist change this to end not begin

Trigger = Screen Transition begins