Using TMSFNCHTMLText onAnchorClick Event


I just started using TMS. I have the following query: how do I use the onAnchorClick event of a TMSFNCHTMLText control. Let's say I want to show a message when an non-URL anchor is clicked.

The Text property is: <A href="terms">terms & conditions</A>
The onAnchorClick event is: if AAnchor = 'terms' then ShowMessage('Anchor clicked');

Using Android, the minute I click on the anchor I'm getting the following message (even if the onAnchorClick even is nil):

andoid.content.Activity NotFoundException: No Activity found to handle intent {act=android.intent.action.VIEW dat=terms}

Please, advise


Please turn off AutoOpenURL to avoid the issue on Android