Re: How to update a css file when using the Browser widget

2018-11-03 Thread James Hale via use-livecode
Further exploring from my previous post. Making a standalone of the stack. Simply reloading the html page still does not use the modified css (as was the case in the IDE) But, deleting the browser widget and recreating it before loading the page and the modified css is recognised. So the

Re: How to update a css file when using the Browser widget

2018-11-03 Thread Brian Milby via use-livecode
Is this on Mac? I've seen it when working on the LC Dictionary (where I was messing with the CSS). I don't think it is LC, but rather Safari (WebKit). I think that I recall that reloads were easier on Windows. I did not find a solution other than restarting the IDE that I can recall, but would

How to update a css file when using the Browser widget

2018-11-03 Thread James Hale via use-livecode
Recently I have been exploring modifying a css file so as to change the appearance of an html file being displayed in the browser widget. Simply, I thought. Load a page that uses a css file. Modify the css file and rewrite it to disk. Re-load the page from before, assuming it would use the

Re: How to find the offset of the last instance of a repeating character in a string? (Geoff Canyon)

2018-11-03 Thread Brian Milby via use-livecode
I've posted a binary stack version that includes my version. I cloned and made a "bwm" branch in my clone. Here's the direct link to the script with the posted code (updated to use private functions):

Re: How to find the offset of the last instance of a repeating character in a string? (Geoff Canyon)

2018-11-03 Thread Brian Milby via use-livecode
Good catch Alex. My code was closer, but didn't handle repeating characters correctly. Here is an updated version. function allOffsets2 D,S,pCase local dLength, C, R -- returns a comma-delimited list of the offsets of D in S set the caseSensitive to pCase is true set the itemDel to

Re: LiveCode Pseudo Captcha?

2018-11-03 Thread Rick Harrison via use-livecode
Hi Sannyasin, I like your questions! I decided that a pull-down menu for answers to questions might be something a computer would find difficult to do as the position for the answer is different each time. Thank you for the suggestions. Rick > On Nov 3, 2018, at 9:29 AM, Sannyasin

Re: How to find the offset of the last instance of a repeating character in a string? (Geoff Canyon)

2018-11-03 Thread Alex Tweedly via use-livecode
Hi Geoff, unfortunately the impact of overlapping delimiter strings is more severe than simply not finding them. The code on github gets the wrong answer if there is an overlapping string at the very end of the search string, e.g. alloffsets("", "a")    wrongly gives  1,5,10 I

Re: LiveCode Pseudo Captcha?

2018-11-03 Thread Sannyasin Brahmanathaswami via use-livecode
Using LiveCode server, I created 10 questions with obvious answers and call them randomly Does Cow two or four Feet (type 2 or 4) __ Can a baby fly an airplane? (type "yes" or "no") Can whales climb trees? (type "yes" or "no") The color of grass is orange or green (type "orange" or

Re: problem with mobileSetKeyboardType

2018-11-03 Thread Pi Digital via use-livecode
Hi Mike It’s not a good idea putting it into an openField handler as this is often as or after the keyboard has already opened. Setting it in the mouseDown will catch it earlier. Or setting transverse to false until a mouseDown/Up which first sets the keyboardType then sets its transverse to

Re: problem with mobileSetKeyboardType

2018-11-03 Thread Andrew Bell via use-livecode
I think that code is based off a documentation bug because "alphabet" is not a listed parameter in the dictionary (even though it is the first example shown after the listed parameters). I use: The mobile keyboard won't activate unless a field has focus and the "default" keyboard is

Re: Sorting datagrid column with a tricj?

2018-11-03 Thread Klaus major-k via use-livecode
Hi Bob, > Am 02.11.2018 um 22:42 schrieb Bob Sneidar via use-livecode > : > > In a table datagrid, can't you edit the column template so that you can > control what goes into the field for that column? I think the underlying data > will remain the same, but what goes into the field is what

Window Tablet Rotations

2018-11-03 Thread General 2018 via use-livecode
Hi , Is there a way to fix rotation to landscape on Windows Tablet ? Regards Camm Regards EasyObd ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: