Destroy Browser Window

Mike Bonner bonnmike at
Tue Aug 2 17:27:17 EDT 2016

If setting its visible to false, and/or moving it off screen won't work,
treat it like the control it is.  If you were deleting a field, you would
"delete field "fieldname.." or whatever method you wish to use to specify
the specific field.  Do the same with the browser widget.
delete widget "nameofmybrowserwidget"

On Thu, Jul 28, 2016 at 2:58 PM, Sannyasin Brahmanathaswami <
brahma at> wrote:

> setting the URL for the browser widget to empty doesn't destroy the
> region… all it does it turns it "white" (empty)  so now you have a white
> block overlaying the stack "permanently"  with no means to dismiss.
> On 7/28/16, 10:28 AM, "use-livecode on behalf of Sannyasin
> Brahmanathaswami" <use-livecode-bounces at on behalf of
> brahma at> wrote:
>     But, there is this in the LCB file… perhaps all it takes is setting
> the URL of the browser to empty? will try that… but still seems like there
> should be a higher level "destroy browser instance" for the new browser
> widget
>     private handler clearBrowser()
>               setHtmlText(the empty string)
>     end handler
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the use-livecode mailing list