Well, here is a 'restricted' workaround for those Object plugins
that refuse to display a supported 'tool tip' parameter when
the Page is first displayed..
Below workaround code will Not work for any Object when it's
initial 'is visible' property set to 'false'.
What code does is force each page in APP to commit its 'pre-draw' to memory,
however not display the APP untill the code returns all scripting activity to 'normal'
..the only 'quirk' I have found is you may get a very minor flicker
when the Start page(only) is actually Fully Shown for the first time.
..there may be a way around this by initially running the APP in a minimised state..
that refuse to display a supported 'tool tip' parameter when
the Page is first displayed..
Below workaround code will Not work for any Object when it's
initial 'is visible' property set to 'false'.
What code does is force each page in APP to commit its 'pre-draw' to memory,
however not display the APP untill the code returns all scripting activity to 'normal'
Code:
--[[place below line in 'On Startup' actions placing it After any 'at Runtime conditional code' etc]] bTtfx = true; --set tooltip display workaround to 'ON' --[[next place below Conditional code at the Beginning of your first page 'ON SHOW' event action scripting]] if (not bTtfx) then Window.Show(Application.GetWndHandle()); --or other code elseif bTtfx then Window.Hide(Application.GetWndHandle()); Page.Navigate(2); --start committing App pages to memory --bypasses further scripting and navs to next page in APP.('on preload' event) end --[[Now for every consequtive page in your APP place below code(But NOT the Last Page) at the very Beginning of all Page's 'ON PRELOAD' event]] if bTtfx then Window.Hide(Application.GetWndHandle()); Page.Navigate(2); end --[[Finally- now For the LAST Page in your APP sequence of pages add below code to the very Beginning of that Page's 'ON PRELOAD' event]] if bTtfx then Window.Hide(Application.GetWndHandle()); bTtfx = false; --now reset tooltip workaround to false ('OFF') --now immediately navigate to First Page in the APP (on preload event) and --all scripting behaviour is returned to 'normal' Page.Navigate(0); --first page in your APP(you could of course target another page) end --[[ the overall trick is at somepoint you will need to reinstate the APP Display via action: Window.Show(Application.GetWndHandle()); (which is already coded for First Page in above code)]]
when the Start page(only) is actually Fully Shown for the first time.
..there may be a way around this by initially running the APP in a minimised state..
Comment