RAD studio Alexandria with a VCL form containing a TPageControl and a TTMSFNCMaps component in one tab.
Opening this form the first time takes additional 2 seconds - even if the TTMSFNCMaps tab is not visible.
The second time opening this form is fast.
Is there a way to pause TTMSFNCMaps (e.g. Service = "do nothing" - just a proposal) to stop it from "initialization" until it will be visible (means map tab is choosen).
I tried (as a workaround) to show an hourglass cursor, but couldn't find a place where to put it. The delay is after FormShow is completed.
Please note that this delay is caused by map and browser cache initialization. Unfortunately it can't be delayed.
You can try using the OnMapInitialized event of the TTMSFNCMaps to hide the hourglass.
I don't want to hide the hourglass - I want to show it during the delay.
Now I set crHourGlass in FormShow and crDefault in OnMapInitialized - but this is not showing an hourglass for the whole delay. Somewhere the cursor is set back to crDefault.
Any ideas how to get an hourglass cursor until form is showing?