iOS/LC5.2.2 UIWebView?

Rick Harrison harrison at all-auctions.com
Tue Sep 18 11:09:38 EDT 2012


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


More information about the use-livecode mailing list