Quantcast
Viewing all articles
Browse latest Browse all 3747

Deactivate TabEngine Temporarily and Then Turn It Back On

I have an issue (latest version of Xojo and 2024r2.1) where the TabEngine built into the xojo client-side JS Framework gets stuck in an infinite recursion. (edited from “infinite loop”; the issue is the function is getting called recursively again and again, maybe because of a Null reference being passed?)

This happens in every browser I’ve tested so far. (On Mac: Safari, Edge, Firefox; On Windows: Chrome)

I believe this is related to embedding containers, at runtime, into a web dialog. (only place it happens)

If I completely turn off the TabEngine using:

ExecuteJavascript("XojoWeb.TabEngine.currentTabEngine = function(x){};")

The problem is “fixed” but I don’t want to permanently turn off the tab engine.

Instead I either want to:

  • Temporarily turn off the tab engine while the dialog is shown and then restore it, or…

  • Omit the container and any of the controls embedded into it at runtime from using the TabEngine

Any advice on how I can do this?

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3747

Trending Articles