Re: Is this right? ColumnBehavior

2018-11-06 Thread Tom Glod via use-livecode
this is the default one on a stack 9.01 stable if you take out the OF it still compiles *on* ResetData *-- Sent when column data is being emptied because the control is no longer being used to display data* *set* the text of field 1 of me to empty *end* ResetData On Mon, Nov 5, 2018 at 11:15

Re: Do javascript function in browser widget?

2018-11-06 Thread hh via use-livecode
Most examples of that link assume that you have control of the pages. And most use the js of the browser widget as "helper" only, the widget doesn't display anything (is hidden). Now you wrote that you don't have control. So your "first experiments" method is one way to go, then you have full con

Re: Do javascript function in browser widget?

2018-11-06 Thread Keith Clarke via use-livecode
Thanks for the link, Herman - some interesting use cases there …once I’ve got the connectivity in place. :-) Best, Keith > On 6 Nov 2018, at 10:42, hh via use-livecode > wrote: > > Browser widget usage examples: > http://forums.livecode.com/viewtopic.php?f=93&t=29018 > >

Re: [Hacktoberfest] Improving Hi-DPI support on Windows as a Community

2018-11-06 Thread Trevor DeVore via use-livecode
On Mon, Nov 5, 2018 at 11:15 PM Trevor DeVore wrote: > On Thu, Oct 11, 2018 at 10:40 AM Trevor DeVore > wrote: > >> I'm aware of the following limitations and bugs around Hi-DPI support on >> Windows: >> >> 1. The `screenPixelScales` reports the pixelScale of the primary monitor >> for all attac

Re: Do javascript function in browser widget?

2018-11-06 Thread Keith Clarke via use-livecode
Thanks Andre for the detailed response and HTTPD library steer - that’s new to me so I shall review with interest. :-) I’m not in control of the pages, so that may be more useful than my first experiments - which were to download the page content into LC, add some markup and load the HTML text

Re: Do javascript function in browser widget?

2018-11-06 Thread hh via use-livecode
Browser widget usage examples: http://forums.livecode.com/viewtopic.php?f=93&t=29018 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runre

Re: Do javascript function in browser widget?

2018-11-06 Thread Andre Alves Garzia via use-livecode
Keith, If you're in control of the HTML used in the widget, then I'd advise you to build functions inside the HTML and just call them from LC instead of executing script directly, such as: in the html     ...       function paintItRed() { document.body.style.backgroundC

Do javascript function in browser widget?

2018-11-06 Thread Keith Clarke via use-livecode
Folks, I’ve found a few examples of simple inline script injection to the browser widget, such as do "document.body.style.background = ‘red';" in widget "Browser” Is it possible to inject a multi-line javascript function - with variables definition, loops, etc - in this fashion or would the fu