iPhoneControls group close

Gerry Orkin gerry.orkin at gmail.com
Sun Sep 8 06:55:17 EDT 2013


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 refer to it by name in any other script (including the delete control script):

on closeCard
  mobileControlDelete "mapbrowser"
end closeCard

Cheers

Gerry


On 08/09/2013, at 12:51 PM, Thomas McGrath III <mcgrath3 at mac.com> wrote:

> Do both of these and that should solve your problems.




More information about the use-livecode mailing list