MBS Xojo Developer Conference and Training
Join us from 3rd to 6th May 2017 in Berlin, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

FAQ.How to jump to an anchor in a htmlviewer?
Feedback.

Answer: You can use javascript to change the current window's location.
Example:
// load website
htmlviewer1.LoadURL "http://www.monkeybreadsoftware.net/addressbook-abpersonmbs.shtml"

// later jump to anchor named "16":

if TargetWin32 then
call HTMLViewer1.IERunJavaScriptMBS "window.location = ""#16"""
elseif TargetMacOS then
call HTMLViewer1.EvaluateJavaScriptMBS "window.location = ""#16"""
else
// not supported
end if




Links
MBS FileMaker tutorial videos