I'm trying to have an html element (a href=...) navigate to a non existent url, and in the onbeforenavigate event set the Params.Cancel := False, thereby stopping the navigation.
So the user taps on the link displayed in the WebBrowser component of the TTMSFMXWebBrowserPopup, and the navigation process begins, but OnBeforeNavigate does not get fired and I receive the appropriate navigation error.
Is that event only meant to fire when the Navigate method is called? Or should it work when a link is selected in html?
Also, is there a trick to setting the size and position of the webbrowserpopup? So far it seems to be resisting my efforts at positioning and sizing.
Thanks.