RE: iPhoneControls group close

2013-09-08 Thread Ralph DiMola
n Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Vaughn Clement Sent: Wednesday, September 04, 2013 11:59 AM To: How to use LiveCode Subject: iPhoneControls group close Good Day All I am another new

Re: iPhoneControls group close

2013-09-08 Thread Vaughn Clement
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://se

Re: iPhoneControls group close

2013-09-08 Thread Gerry Orkin
Vaughn Tom beat me to it re the rect you are using and the delete control stuff. However I think Tom is wrong about his second delete example since you haven't given the browser control a name when you create it. Do that this way: iphoneControlCreate "browser", "mapbrowser" That way you can

Re: iPhoneControls group close

2013-09-07 Thread Thomas McGrath III
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

Re: iPhoneControls group close

2013-09-07 Thread Thomas McGrath III
Vaughn, The Card Script should include a closeCard handler: on closeCard mobileControlDelete browserID end closeCard or on closeCard mobileControlDelete "browser" end closeCard Either will work. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Sep 7, 2013, at

Re: iPhoneControls group close

2013-09-07 Thread Vaughn Clement
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

Re: iPhoneControls group close

2013-09-07 Thread Gerry Orkin
Can you show us the code you use to create the browser control? Gerry On 08/09/2013, at 9:23 AM, Vaughn Clement wrote: > The browser group is the name of the group object that I am using to > display the Google or MapQuest web site. ___ use-livecod

Re: iPhoneControls group close

2013-09-07 Thread Vaughn Clement
Hi Thomas The browser group is the name of the group object that I am using to display the Google or MapQuest web site. Thank you Vaughn Clement Apps by Vaughn Clement (Support) *http://www.appsbyvaughnclement.com/tools/home-page/* Skype: vaughn.clement https://secure.join.me/appsbyvclement Fa

Re: iPhoneControls group close

2013-09-07 Thread Gerry Orkin
What exactly do you mean by  "browser group"? Is it the ios native browser control? Or some other group of LiveCode controls? Gerry On Sat, Sep 7, 2013 at 11:30 PM, Vaughn Clement wrote: > Hi All > The issue has not gone away. I have tried several different

Re: iPhoneControls group close

2013-09-07 Thread Vaughn Clement
Hi All The issue has not gone away. I have tried several different ways to stop the browser group object from displaying on every screen after it is opened. This is how the screen is setup: On the substack, the first card has a set of buttons (1 Google Maps 2 MapQuest) and the user selects the br

Re: iPhoneControls group close

2013-09-07 Thread Thomas McGrath III
Gerry, If the backgroundBehavior is true then you can remove the group from every card in a stack using "Remove Group" without deleting the group. Then at any point you can "Place Group" to put it where you want. I am not sure if that is what the OP wanted or not since he never replied back.

Re: iPhoneControls group close

2013-09-06 Thread Gerry Orkin
That will delete the group from the stack - is that what the OP wanted?? On 05/09/2013, at 11:18 AM, Thomas McGrath III wrote: > Go to the main Stack where the offending group is being shown in the IDE and > select "Remove Group" from the Object Menu. That should do it. __

Re: iPhoneControls group close

2013-09-04 Thread Thomas McGrath III
Ohh, It is not the Browser that won't go away but a grouped background. Got it. Go to the main Stack where the offending group is being shown in the IDE and select "Remove Group" from the Object Menu. That should do it. Tom -- Tom McGrath III http://lazyriver.on-rev.com mcgra...@mac.com On Sep

Re: iPhoneControls group close

2013-09-04 Thread Vaughn Clement
Hi Thomas This is difficult for a new user to explain but here I go: In the simulator how do I test for the ID when there is no way to add the "get" statement? I have a question that might lead to the solution: When I view the Project Browser and look at the other grouped objects that were show /

Re: iPhoneControls group close

2013-09-04 Thread Thomas McGrath III
Vaughn The mobileControlDelete needs either the controlID or the "control name" to work and should be put in the close card handler for the Map card. You might want to check the id or name again. I have not had any problems with controls not deleting correctly. You might want to check the name

iPhoneControls group close

2013-09-04 Thread Vaughn Clement
Good Day All I am another new user who has a question about removing a iPhoneControl i.e. a browser after the task is done. Issue: I created a mainstack that included a series of image objects that were to be used to simulate a tab interface. I used scripts in buttons to Hide / Show the group for