revBrowserSet

paolo mazza mazzapaoloitaly at gmail.com
Tue Jul 28 06:29:41 EDT 2015


Hi all,
afaik you can not use revBrowserCef because the close revBrowser
command does not work.
This bug has been confirmed some months ago, but it has not been fixed
yet. See..
http://quality.runrev.com/show_bug.cgi?id=13831
All the best
Paolo

On Fri, Jul 24, 2015 at 9:22 AM, Terence Heaford <t.heaford at icloud.com> wrote:
> This is my first foray into using a browser in LiveCode and I have come across a couple of points I was hoping someone could help me with:
>
> I am experimenting using a browser to display charts using highcharts from highcharts.com and have got the example charts working in a browser.
>
> I am working with LC 6.7.6 on iMac with Yosemite.
>
> --------------
>
> I have this script to setup the browser
>
> global gBrowserID
>
> on mouseUp
>    lock screen
>    set the visible of grc "browserOutline" to false
>
>    --put revBrowserOpenCef(the windowId of this stack, "") into gBrowserID
>    put revBrowserOpen(the windowId of this stack, "") into gBrowserID
>
>    revBrowserSet gBrowserID, "rect", the rect of graphic "browserOutline"
>    revBrowserSet gBrowserID, "offline", true
>    revBrowserSet gBrowserID, "scrollbars", false
>    revBrowserSet gBrowserID, "showBorder", true
>    unlock screen
> end mouseUp
>
> I have noticed that with revBrowserCef I cannot disable scrollbars and show border does not work for me but with revBrowserOpen they both work?
>
> Perhaps I am doing something wrong or is revBrowserCef a work in progress?
>
> ———————
>
> At the moment it appears that I will have to create my own charts in LiveCode export them as index.htm then reload them into the browser.
>
> Is there a way to create the chart in LiveCode then pass it straight to the browser.
>
> I tried this without success using the content of one of the example files in highcharts:
>
> put the uScript of me into tScript
> revBrowserSet gBrowserID, "htmltext", tScript
> revBrowserRefresh gBrowserID
>
> ———————
>
> Is there any better documentation on the use of the revBrowser commands or is it all to be trial and error?
>
>
> Thanks
>
>
> Terry
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list