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 < bra...@hindu.org> 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-boun...@lists.runrev.com on behalf of > bra...@hindu.org> 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@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