Hi Thomas Although LC is an English style scripting language, it also needs to be proper English as I am finding out...
Thank you for the assistance. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/* Skype: vaughn.clement https://secure.join.me/appsbyvclement FaceTime: vclem...@gmail.com LogMeIn also avaialble Call on "ooVoo" at address: vaughnclement or 9282549062 Ph. 928-254-9062 On Sat, Sep 7, 2013 at 7:51 PM, Thomas McGrath III <mcgra...@mac.com> wrote: > Vaughn. > > Also, you should just use a rectangle for the browser 'rect' instead of a > group, you have: > iphoneControlSet browserID, "rect", the rect of group "browser" > > Instead of using a group "browser" -- delete that group and instead put a > rectangle on the card named "browser" and then replace the line above with > this in your script as well as adding the on closeCard handler from my > other email: > > iphoneControlSet browserID, "rect", the rect of control "browser" > > Do both of these and that should solve your problems. > > Tom > > -- Tom McGrath III > http://lazyriver.on-rev.com > mcgra...@mac.com > > On Sep 7, 2013, at 10:28 PM, Vaughn Clement <vclem...@gmail.com> wrote: > > > Hi all > > > > The Stack Script for the same stack as the group: > > > > on openStack > > if environment() = "mobile" then > > mobileStartTrackingSensor "location",true > > end if > > end openStack > > > > on locationChanged latitude, longitude > > set the theCurrentLocation of this stack to latitude & comma & > longitude > > end locationChanged > > > > on openCard > > put the short id of this card into field "Screen Number" > > pass opencard > > end openCard > > > > > > The Card Script: > > > > global browserID, theURL > > > > on openCard > > focus on nothing > > end openCard > > > > on loadBrowser > > iphoneControlCreate "browser" > > put the result into browserID > > iphoneControlSet browserID, "url", theURL > > iphoneControlSet browserID, "autofit",true > > iphoneControlSet browserID, "rect", the rect of group "browser" > > iphoneControlSet browserID, "delayRequests", false > > iphoneControlSet browserID, "dataDetectorTypes", "link, calendar event, > > phone number" > > iphoneControlSet browserID, "visible", true > > end loadBrowser > > > > The load Browser Button script: > > > > global theURL, witchmap > > > > on mouseUp > > if witchmap = "Google" then > > put fld id 1039 into theURL > > end if > > if witchmap = "Mapquest" then > > put fld id 1035 into theURL > > end if > > loadBrowser > > end mouseUp > > > > Thank you > > > > Vaughn Clement > > > > Apps by Vaughn Clement (Support) > > *http://www.appsbyvaughnclement.com/tools/home-page/* > > Skype: vaughn.clement > > https://secure.join.me/appsbyvclement > > FaceTime: vclem...@gmail.com > > LogMeIn also avaialble > > Call on "ooVoo" at address: vaughnclement or 9282549062 > > Ph. 928-254-9062 > > > > > > On Sat, Sep 7, 2013 at 5:19 PM, Gerry Orkin <gerry.or...@gmail.com> > wrote: > > > >> Can you show us the code you use to create the browser control? > >> > >> Gerry > >> > >> > >> On 08/09/2013, at 9:23 AM, Vaughn Clement <vclem...@gmail.com> wrote: > >> > >>> The browser group is the name of the group object that I am using to > >>> display the Google or MapQuest web site. > >> > >> _______________________________________________ > >> use-livecode mailing list > >> use-livecode@lists.runrev.com > >> Please visit this url to subscribe, unsubscribe and manage your > >> subscription preferences: > >> http://lists.runrev.com/mailman/listinfo/use-livecode > >> > > _______________________________________________ > > use-livecode mailing list > > use-livecode@lists.runrev.com > > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > > http://lists.runrev.com/mailman/listinfo/use-livecode > > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode