Hi Charles & Maarten,
Here is the code:
on preOpenCard
if the environment is not "mobile" then
exit preOpenCard
end if
put "file://" & specialFolderPath("Documents") & "/UsersManual.html" into
theURL
replace space with "%20" in theURL
mobileControlCreate "browser"
put the result into browserID
mobileControlSet browserID, "rect", the rect of graphic "RectangleWhite31"
of this card
mobileControlSet browserID, "visible", true
mobileControlSet browserID, "url", theURL
resizeStack
end preOpenCard
Thanks,
Rick
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode