Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SetTimeout and Template
#1
Hi there. I am trying to find out what the SetTimeout is not working in an overlay that I have in my templates. In the OnPreload section I set the timeout with SetTimeout(3, True) and in the Timeout section, I have some actions.

SetTimeout is never executed from my overlay.

I am not trying to execute this from the Overlay widget but from the template that is loaded into the Overlay widget.
Reply
#2
It only works on the actual loaded template itself (well the top-most one, if there's a popup up, then it's timeout will be done, so the base template in each layer.) When a template it loaded into an overlay those are dropped because it's not loaded as a template itself.
Dean Roddey
Explorans limites defectum
Reply
#3
Thanks if it does not work then I would think the option should not be available, no?
Reply
#4
There's no way to know if you will load a template into an overlay or load it directly. Some might even be used in both contexts potentially.
Dean Roddey
Explorans limites defectum
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Template scaling error NishanF 1 527 11-10-2020, 03:21 PM
Last Post: NishanF
  Template scaling George M 4 1,485 10-28-2019, 02:54 PM
Last Post: George M
  SOLVED: VLC dll Issues with CQC Interface Template Viewer gReatAutomation 3 1,717 06-17-2019, 06:17 AM
Last Post: gReatAutomation
  template timeouts and LoadOverlay command Shaky 9 2,785 04-29-2019, 07:46 PM
Last Post: kblagron
  Does the auto-gen template system support Roku? ghurty 3 1,768 12-31-2018, 06:14 PM
Last Post: Dean Roddey
  Hiding Command Buttons on template kfly 5 2,267 12-14-2018, 06:52 PM
Last Post: Dean Roddey
  Nice job on the scaling! 1 template for the 1st time! IVB 0 1,318 07-15-2018, 04:38 PM
Last Post: IVB
  Copied an autogen template for the Elk, but the arm/disarm doesnt work now ghurty 3 1,900 06-03-2018, 05:38 PM
Last Post: Dean Roddey
  Docs Link broken - Template Scaling Shaky 3 2,530 03-17-2018, 04:18 PM
Last Post: Dean Roddey
  Interface Template editor widget view gone? rbroders 3 2,408 02-03-2018, 07:22 PM
Last Post: rbroders

Forum Jump:


Users browsing this thread: 1 Guest(s)