Skip to main content
BGuth.1
Senior
April 16, 2021
Question

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

  • April 16, 2021
  • 5 replies
  • 1137 views

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.

This topic has been closed for replies.

5 replies

MM..1
Super User
April 17, 2021

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?

BGuth.1
BGuth.1Author
Senior
April 18, 2021

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.

MM..1
Super User
April 18, 2021

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 II
December 14, 2021

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
Super User
December 15, 2021

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

Trigger = Screen Transition begins