Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
Yeah, there’s no problem with the browser display here either – it sizes correctly and no scrollbars are displayed. The issue is purely to do with the checkboxes in the property inspector being non-responsive. I’ll bug report it when I have a bit of spare time tomorrow. Terry... On 17/08/2017

Re: Couple of questions about the browser widget

2017-08-16 Thread Mike Bonner via use-livecode
Strange. when I run my little test stack and set the height of the browser + the 23 extra pixels, the vertical scrollbar goes away on its own. Gotta get my other machines back up and running so I can test on them. Why there would be scrollbars for a page with nothing in it is beyond me. Out of c

Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
Hi Mike - I don’t think it’s an issue in my case. I’m displaying pretty simple pages – just text and images, no columns or fancy layouts. Nothing that is displayed will be wider than the browser (images are resized before being loaded to ensure this) so no horizontal scrolling will be required u

Re: Taking quotes on building LC external for RethinkDB

2017-08-16 Thread Tom Glod via use-livecode
Also.for anyone who is interested...I received a very reasonable and fair quote from Livecode Inc. to develop the driver library. Its going into our spreadsheet and some meetings in September. will keep y'all posted. On Wed, Aug 16, 2017 at 5:47 PM, Tom Glod wrote: > Hi Richard, thanks for

Re: Taking quotes on building LC external for RethinkDB

2017-08-16 Thread Tom Glod via use-livecode
Hi Richard, thanks for sharing more thoughts on this subject... its interesting to hear about your experience with the IT departments. I am anticipating just about anything and your message reminded me to literally be ready for all kinds of things. Its the beautiful thing about a web app ...

Re: Couple of questions about the browser widget

2017-08-16 Thread Jonathan Lynch via use-livecode
Maybe Try this: body { overflow: hidden; } Also, the internal width or height of content in the browser is not necessarily the same as the width as measured by LC. Things like the screen pixel scale can have an effect. Sent from my iPhone > On Aug 16, 2017, at 4:33 PM, Mike Bonner via use

Re: answer with...

2017-08-16 Thread Dr. Hawkins via use-livecode
On Wed, Aug 16, 2017 at 12:07 PM, jbv via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi > I have a blank... > I need to use a prompt in the form of > answer "Your choice" with "John" or "Mary" or "Cancel" > > the problem is that the number of options depends on the > result of a DB r

Re: answer with...

2017-08-16 Thread jbv via use-livecode
works like a charm... Thanks a lot. On Wed, August 16, 2017 10:13 pm, J. Landman Gay via use-livecode wrote: > On 8/16/17 10:07 pm, jbv via use-livecode wrote: > > >> I have a blank... >> I need to use a prompt in the form of >> answer "Your choice" with "John" or "Mary" or "Cancel" >> >> the pr

Re: Couple of questions about the browser widget

2017-08-16 Thread Mike Bonner via use-livecode
hmm. If the width of the page fits without need of a horizontal scrollbar, it should disappear, so maybe your code should check to see if its false first, then add the 23 pixels or not, depending. (I also can't test to see if its 23 on every platform at the moment) I'm wondering if you're just no

Re: sms,MMS, and Push Notificstions

2017-08-16 Thread Mike Kerner via use-livecode
I've been threatening to build/working on an LC push server library, but it's on the back burner, right now, and probably will be until the end of the year, at the earliest. • First, go to quality.livecode.com, and add yourself to the cc list for bug 10901 and 18692. Those are for various improvem

Re: answer with...

2017-08-16 Thread J. Landman Gay via use-livecode
On 8/16/17 10:07 pm, jbv via use-livecode wrote: > I have a blank... > I need to use a prompt in the form of >answer "Your choice" with "John" or "Mary" or "Cancel" > > the problem is that the number of options depends on the > result of a DB request, and can vary from 2 to 6... I think the

Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
Perfect! Interesting about the hScrollbar setting – I seem to be unable to deselect that (or vScrollbar) in the property editor – or change them via script (both are stuck on true). Thanks, Terry... On 16/08/2017 11:49 pm, "use-livecode on behalf of Mike Bonner via use-livecode" wrote:

RE: answer with...

2017-08-16 Thread Ralph DiMola via use-livecode
Android Mobile is limited to 3. Ralph DiMola IT Director Evergreen Information Services rdim...@evergreeninfo.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription

Re: answer with...

2017-08-16 Thread Richard Gaskin via use-livecode
Richmond Mathewson wrote: > This works: > > on mouseUp > answer "your Choice" with fld "CHOIX" > end mouseUp Apparently that works with any return-delimited container, including variables. I couldn't find mention of this in the Dictionary entry for "answer". Any know offhand if there's a b

RE: answer with...

2017-08-16 Thread ** Clarence P Martin ** via use-livecode
Thanks! This is cool! I appreciate it when people contribute code snippets. I would have never thought of this. Sincerely, Clarence Martin Email: chi...@themartinz.com Cell: 626 6965561 -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Rich

Re: answer with...

2017-08-16 Thread Richmond Mathewson via use-livecode
Ha, Ha! I didn't know that either until I had a "mad" idea and tried it. Richmond. On 8/16/17 10:54 pm, Klaus major-k via use-livecode wrote: Hi Richmond, Am 16.08.2017 um 21:32 schrieb Richmond Mathewson via use-livecode : This works: on mouseUp answer"your Choice" with fld "CHOIX" end

Re: answer with...

2017-08-16 Thread Klaus major-k via use-livecode
Hi Richmond, > Am 16.08.2017 um 21:32 schrieb Richmond Mathewson via use-livecode > : > > This works: > > on mouseUp > answer"your Choice" with fld "CHOIX" > end mouseUp > > if fld "CHOIX" is a listField WOW, now THIS is really cool! And also works with "normal" (editable) fields. Really

Re: answer with...

2017-08-16 Thread Richmond Mathewson via use-livecode
http://forums.livecode.com/viewtopic.php?f=7&t=29638#p157100 Richmond. On 8/16/17 10:07 pm, jbv via use-livecode wrote: Hi I have a blank... I need to use a prompt in the form of answer "Your choice" with "John" or "Mary" or "Cancel" the problem is that the number of options depends on the

Re: answer with...

2017-08-16 Thread Richmond Mathewson via use-livecode
This works: onmouseUp answer"your Choice" withfld "CHOIX" endmouseUp if fld "CHOIX" is a listField Richmond. On 8/16/17 10:07 pm, jbv via use-livecode wrote: Hi I have a blank... I need to use a prompt in the form of answer "Your choice" with "John" or "Mary" or "Cancel" the problem i

answer with...

2017-08-16 Thread jbv via use-livecode
Hi I have a blank... I need to use a prompt in the form of answer "Your choice" with "John" or "Mary" or "Cancel" the problem is that the number of options depends on the result of a DB request, and can vary from 2 to 6... I tried to put ("John" or "Mary" or "Cancel") in a string but (answer "Yo

Re: sms,MMS, and Push Notificstions

2017-08-16 Thread William Prothero via use-livecode
Mike: Me too on Richard’s request. I think the livecode lesson is a good start, but yes, setting up the server is another issue entirely. Since you’ve been through this process, it would be very useful to hear which learning resources you found most useful. Here are a couple of promising links

Re: sms,MMS, and Push Notificstions

2017-08-16 Thread Matthias Rebbe via use-livecode
> Am 16.08.2017 um 20:27 schrieb Richard Gaskin via use-livecode > mailto:use-livecode@lists.runrev.com>>: > > Mike Kerner wrote: > > > I disagree with Ben on the effort of rolling your own. The first one > > is probably some work, until you understand how push works, but after > > you unders

Re: sms,MMS, and Push Notificstions

2017-08-16 Thread Richard Gaskin via use-livecode
Mike Kerner wrote: > I disagree with Ben on the effort of rolling your own. The first one > is probably some work, until you understand how push works, but after > you understand, it is pretty easy. I don't mind learning new things, and I often prefer the control I get with my own private syst

Re: sms,MMS, and Push Notificstions

2017-08-16 Thread Mike Kerner via use-livecode
I disagree with Ben on the effort of rolling your own. The first one is probably some work, until you understand how push works, but after you understand, it is pretty easy. On Wed, Aug 16, 2017 at 11:56 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > erm... nothing is

Re: sms,MMS, and Push Notificstions

2017-08-16 Thread Bob Sneidar via use-livecode
erm... nothing is free. They must be getting something out of it. Ads at least. Harvesting phone numbers likely. IMHO it is a really bad idea to use free services in commercial projects. Even if they are innocuous, there is no guarantee a free service will always be there. Bob S > On Aug 16,

Re: sms,MMS, and Push Notificstions

2017-08-16 Thread Ben Rubinstein via use-livecode
Just to add a +1 for OneSignal. We've used it for a couple of projects and it's great. In theory you could run your own push notification server, in practise as Andrew noted it's a ton of work, and unless your needs are very unusual probably not worth it. There are a number of commercial ser

Re: Couple of questions about the browser widget

2017-08-16 Thread Mike Bonner via use-livecode
Ty HH and jonathan, its working now for me. Terry: I have this in my temporary file.. Hi! window.onload = function(e) { liveCode.lcHeight(document.body.scrollHeight); } It loads my picture fine, and (now that i have capitalization right.. DOH) it sends a livecode message called lcHeight wh

Re: Couple of questions about the browser widget

2017-08-16 Thread Terry Judd via use-livecode
Thanks hh that's really helpful stuff. Thanks also to Jonathan and Mike. Regards, Terry... Sent from my iPad > On 16 Aug 2017, at 9:00 pm, hh via use-livecode > wrote: > > Additional to Jonathan's instructions. > > Basic: > http://forums.livecode.com/viewtopic.php?f=7&t=29589 > > Medium: G

Re: Couple of questions about the browser widget

2017-08-16 Thread hh via use-livecode
Additional to Jonathan's instructions. Basic: http://forums.livecode.com/viewtopic.php?f=7&t=29589 Medium: Get MouseEvents from browser widget http://forums.livecode.com/viewtopic.php?p=154496#p154496 and others there (7 Browser Widget usage examples) ... ___

Re: Couple of questions about the browser widget

2017-08-16 Thread Jonathan Lynch via use-livecode
If you post the line that sends a message from JS to LC, we should be able to tell you what is wrong. The code looks like this: JS liveCode.myHandler('JSMessage','test'); LC On myHandler pMessage, pData If pMessage = "JSMessage" then Answer pData End if End myHandler This will produce an LC