Re: dgToolTip Snippet

2017-07-12 Thread Bob Sneidar via use-livecode
Whoops! Also include in your datagrid script local tTarget > On Jul 12, 2017, at 15:04 , Bob Sneidar via use-livecode > wrote: > > Put this code in your datagrid script: ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

dgToolTip Snippet

2017-07-12 Thread Bob Sneidar via use-livecode
Hi all. If anyone is interested, I have a working version of a datagrid tooltip handler. It requires the arrayToText handler as written but that can be replaced by another function of your choosing that takes an array and returns some kind of text representation of it. (printKeys comes to mind

Re: Error Report

2017-07-12 Thread Bob Sneidar via use-livecode
Hmmm... wrapping the entire contents of the dgToolTip handler in a try catch solves the problem, and the handler works flawlessly. Problem solved but I don't know why! Bob S ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit th

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread J. Landman Gay via use-livecode
I can't take credit, I first saw Ken Ray do it. On 7/12/17 3:05 PM, Bob Sneidar via use-livecode wrote: Brilliant as usual. Bob S On Jul 12, 2017, at 11:40 , J. Landman Gay via use-livecode wrote: And since we are look at usability of the script editor and add ons I would LOVE to have t

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread J. Landman Gay via use-livecode
I can't take credit, I first saw Ken Ray do it. On 7/12/17 3:05 PM, Bob Sneidar via use-livecode wrote: Brilliant as usual. Bob S On Jul 12, 2017, at 11:40 , J. Landman Gay via use-livecode wrote: And since we are look at usability of the script editor and add ons I would LOVE to have t

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread J. Landman Gay via use-livecode
On 7/12/17 2:36 PM, Richard Gaskin via use-livecode wrote: * In UX circles they bandy about "80% of users never change preference settings" so often it's usually taken for granted, but this morning as I noted that above I wondered about the actual research behind it. Of course that rubric appl

Re: Error Report

2017-07-12 Thread Bob Sneidar via use-livecode
NVM I figured it out. I am failing to filter out datagrid objects that are NOT fields. I thought I had taken care of that but I guess not. Bob S > On Jul 12, 2017, at 14:07 , Bob Sneidar via use-livecode > wrote: > > I just compiled a Mac standalone. App works in the IDE. I get this error w

Error Report

2017-07-12 Thread Bob Sneidar via use-livecode
I just compiled a Mac standalone. App works in the IDE. I get this error when I point at a datagrid control. This is my new function for displaying a tooltip when pointing at a datagrid record. The error "Chunk: error in range start expression" is what throws me. I am passing the long ID of th

Re: Set the tooltip of a datagrid

2017-07-12 Thread Bob Sneidar via use-livecode
Well I just discovered an amazing thing. You can get the dgData of a CONTROL of a datagrid and it still returns the data. For instance if you know that the dgLine you want is 3 and the control name is siteid 0003, you can put the dgDataOfLine [3] of field "siteid 0003" into aData and you will

Re: Refreshing question

2017-07-12 Thread Simon Smith via use-livecode
Hi Couple of ways you could look at doing it. Depending on the formatting of the page, you could use an iframe and just get the page that is getting loaded each time to refresh with something like - this would just reload the section of the page and not the entire page. You could also use a jqu

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread hh via use-livecode
> RG wrote: > I would caution against adding more stuff to the Prefs window, for > reasons too lengthy to indulge in here. The new stuff could replace "Compatibility" (and "Updates" could be replaced with one link to downloads.livecode.com). ___ use-

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Bob Sneidar via use-livecode
Brilliant as usual. Bob S > On Jul 12, 2017, at 11:40 , J. Landman Gay via use-livecode > wrote: > >> And since we are look at usability of the script editor and add ons I would >> LOVE to have the ability to show "sections" in my scripts >> I think it was years ago, or maybe even nowin GLX

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Terry Judd via use-livecode
On 13/07/2017 2:56 am, "use-livecode on behalf of Richard Gaskin via use-livecode" wrote: I would caution against adding more stuff to the Prefs window, for reasons too lengthy to indulge in here. Perhaps having a button in the script editor that links to the script edito

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Richard Gaskin via use-livecode
Richmond Mathewson wrote: > On 7/12/17 7:56 pm, Richard Gaskin via use-livecode wrote: > > for reasons too lengthy to indulge in here. > > > Please could you indulge in them somewhere so we can understand your > argument fully. For future readers to better understand my reply here, it may be h

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread J. Landman Gay via use-livecode
On 7/12/17 9:26 AM, Sannyasin Brahmanathaswami via use-livecode wrote: And since we are look at usability of the script editor and add ons I would LOVE to have the ability to show "sections" in my scripts I think it was years ago, or maybe even nowin GLX? anyway, Jerry Daniels had that, where

Re: [ANN] Release 8.1.5 -- tsneterr

2017-07-12 Thread Dan Friedman via use-livecode
Charles, Yes, I do have resetAll in my scripts. I use it when a communications error has occurred as a way to reset and try again. If tsNet is in play, I gather I should not call resetAll? If not, is there something else I should be doing? Also, is there a way (via a property) to determine

Re: Set the tooltip of a datagrid

2017-07-12 Thread Phil Davis via use-livecode
BUT you can set the toolTipDelay, to speed up or slow down its appearance. That's about it. Phil Davis On 7/12/17 10:54 AM, Bob Sneidar via use-livecode wrote: Yes just figured that out thank you. Initially it wasn't displaying, but I think that was because of an early bug which I already q

Re: MobileControlCreate Scroller? SOLVED

2017-07-12 Thread JOHN PATTEN via use-livecode
Never mind :( I hate when that happens :) wrong fld name in > On Jul 12, 2017, at 11:00 AM, JOHN PATTEN via use-livecode > wrote: > > Hi All, > > I have a group that consists of a couple of buttons and a field. The field > can contain text that fits nicely with it, and at times, text that

Re: Set the tooltip of a datagrid

2017-07-12 Thread Mark Wieder via use-livecode
On 07/12/2017 10:47 AM, Bob Sneidar via use-livecode wrote: Okay now my problem is that now the line "show the toolTip of tTarget" generates an error, but it doesn't say WHAT the error is. If I use a try catch and get the error I get this: 69,112,12,1. sitename: Integrated Office Technologies

MobileControlCreate Scroller?

2017-07-12 Thread JOHN PATTEN via use-livecode
Hi All, I have a group that consists of a couple of buttons and a field. The field can contain text that fits nicely with it, and at times, text that is outside the bounds of the field. This app is targeted for an iPhone. I wanted to create a mobile scroller to allow the user to scroll the fiel

Re: Set the tooltip of a datagrid

2017-07-12 Thread Bob Sneidar via use-livecode
Yes just figured that out thank you. Initially it wasn't displaying, but I think that was because of an early bug which I already quashed. Apparently there is no command for showing a tooltip. Bob S > On Jul 12, 2017, at 10:52 , Mike Bonner via use-livecode > wrote: > > Are you sure you ne

Re: Set the tooltip of a datagrid

2017-07-12 Thread Mike Bonner via use-livecode
Are you sure you need that line at all? Seems like once the tooltip is set, it will show up after the tooltipdelay has passed. At least it did for me in my quicky experiment. On Wed, Jul 12, 2017 at 11:47 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Okay now my pro

Re: Set the tooltip of a datagrid

2017-07-12 Thread Bob Sneidar via use-livecode
Okay now my problem is that now the line "show the toolTip of tTarget" generates an error, but it doesn't say WHAT the error is. If I use a try catch and get the error I get this: 69,112,12,1. sitename: Integrated Office Technologies Santa Fe Springs 547,112,12 Could it be that for some reason

Re: Set the tooltip of a datagrid

2017-07-12 Thread Mike Bonner via use-livecode
rather than get the data of the line (unkeyed) can you just grab the index, and use that to pick out your tooltip? (barely glanced at this so far, so i might be way off) On Wed, Jul 12, 2017 at 10:36 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Great tip! (pun inten

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Richard Gaskin via use-livecode
Kevin Miller wrote: > We are working hard to attract new users to the platform. This has > come up again and again in user testing. This evening we tested this > new handler list on new users for the first time. It went over very > well. It does indeed seem very helpful, but even better to hear

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Richmond Mathewson via use-livecode
On 7/12/17 7:56 pm, Richard Gaskin via use-livecode wrote: for reasons too lengthy to indulge in here. Please could you indulge in them somewhere so we can understand your argument fully. Richmond. ___ use-livecode mailing list use-livecode@l

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Richard Gaskin via use-livecode
Terry Judd wrote: > I’ve just had a quick play with the enhanced script editor and these > all seem like good suggestions to me, and in the script editor pane of > the preferences window I’d allow the user to (i) hide/show the list of > available common handlers and (ii) hide/show included comment

Re: Refreshing question

2017-07-12 Thread Jonathan Lynch via use-livecode
You can access the online data through LC, either synchronously or asynchronously, and process it as you need in LC. Then, you can send that data to the browser widget where you use Javascript to display it within the browser, by setting the innerHTML of a div or some other method. In this way

Re: Native Livecode Pinch and Zoom

2017-07-12 Thread Richard Gaskin via use-livecode
Should we also consider adding aomething like a "zoomable" property for images? Sure, we can do it in script, but it's non-trivial and most get it wrong, e.g.: ..where the zoom is based around the cente

Re: Set the tooltip of a datagrid

2017-07-12 Thread Bob Sneidar via use-livecode
Great tip! (pun intended) So here is what I came up with. Keep in mind that tKeyList is a list of columns I want in the tooltip. The idea is to present the user with a tooltip containing summary information on the datagrid data record. I had to prepend a counter to each key so that it would sor

Re: Refreshing question

2017-07-12 Thread prothero--- via use-livecode
Whoops, I missed the earlier posts. My question was answered. Bill William Prothero http://es.earthednet.org > On Jul 12, 2017, at 9:31 AM, Mark Waddingham via use-livecode > wrote: > >> On 2017-07-12 18:28, Mark Waddingham via use-livecode wrote: >> Option (3) is probably the easiest (it has

Re: Refreshing question

2017-07-12 Thread prothero--- via use-livecode
I'm curious how you manage nearly simultaneous change requests from different users. I can see issues if your application is some kind of real time multi-user game, but if the changes are stored to a file or database, it makes sense. This idea seems interesting and I'm thinking how I might use

Re: Refreshing question

2017-07-12 Thread Mark Waddingham via use-livecode
On 2017-07-12 18:28, Mark Waddingham via use-livecode wrote: Option (3) is probably the easiest (it has less 'moving parts'), followed by (2) and then (3). I meant to say (2) is probably the easiest (it has less 'moving parts'), followed by (1) and then (3). Warmest Regards, Mark. -- Mark

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Richmond Mathewson via use-livecode
My feedback is here: http://forums.livecode.com/viewtopic.php?f=6&t=29487 including soundings from kids on my summer course. Richmond. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and man

Re: Refreshing question

2017-07-12 Thread Mark Waddingham via use-livecode
On 2017-07-12 18:23, jbv via use-livecode wrote: On Wed, July 12, 2017 5:34 pm, jonathandly...@gmail.com wrote: If the data is always the same, then I would update a page and have the browser read it. Are you looking to reload the whole page or just update a few data points? I really need t

Re: Refreshing question

2017-07-12 Thread jbv via use-livecode
On Wed, July 12, 2017 5:34 pm, jonathandly...@gmail.com wrote: > If the data is always the same, then I would update a page and have the > browser read it. > > Are you looking to reload the whole page or just update a few data > points? > I really need to reload the xml data only, as the user will

RE: Native Livecode Pinch and Zoom

2017-07-12 Thread Mark Waddingham via use-livecode
Hi Ralph, On 2017-07-12 17:41, Ralph DiMola via use-livecode wrote: I get pinch-and-zoom on both mobile platforms using the mobile browser control. My html expert has had to tweak a couple of html pages now and again to make it work. Other on-line pages don’t pinch-and-zoom but they also don’t p

Re: Refreshing question

2017-07-12 Thread Warren Samples via use-livecode
On 07/12/2017 10:11 AM, jbv via use-livecode wrote: Hi guys I have a web page that displays various informations that need to be updated/refreshed every minute. What is the best way to achieve that ? 1- client side : a settimeout in a js script that triggers a LC script on a remote server via xm

Re: Native Livecode Pinch and Zoom

2017-07-12 Thread Devin Asay via use-livecode
On Jul 12, 2017, at 8:40 AM, Sannyasin Brahmanathaswami via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: It appears we won't get pinch and zoom in the browser widget on mobile. It's back to using a native LC interface for a big map adventure where the user can zoom into an area a

RE: Native Livecode Pinch and Zoom

2017-07-12 Thread Ralph DiMola via use-livecode
I get pinch-and-zoom on both mobile platforms using the mobile browser control. My html expert has had to tweak a couple of html pages now and again to make it work. Other on-line pages don’t pinch-and-zoom but they also don’t pinch-and-zoom in Safari/Chrome either. I tried the browser widget an

Re: Refreshing question

2017-07-12 Thread Jonathan Lynch via use-livecode
If the data is always the same, then I would update a page and have the browser read it. Are you looking to reload the whole page or just update a few data points? Sent from my iPhone > On Jul 12, 2017, at 11:11 AM, jbv via use-livecode > wrote: > > Hi guys > I have a web page that displays

Re: [ANN] Release 8.1.5 -- tsneterr

2017-07-12 Thread Matthias Rebbe via use-livecode
You mean, you want to call that in the standalone? I am not sure. I would say this is a question either for Charles Warwick or the people at Livecode. > Am 12.07.2017 um 17:13 schrieb Dan Friedman via use-livecode > : > > Matthias, > > If I build the standalone with tsNet selected, could I c

Re: [ANN] Release 8.1.5 -- tsneterr

2017-07-12 Thread Dan Friedman via use-livecode
Matthias, If I build the standalone with tsNet selected, could I call: dispatch "revUnloadLibrary" to stack "tsNetLibUrl" at runtime to switch back to libURL? If so, this would give me the option to use either one. Thanks! -Dan On 7/11/17, 6:13 PM, "use-livecode on behalf of use-li

Refreshing question

2017-07-12 Thread jbv via use-livecode
Hi guys I have a web page that displays various informations that need to be updated/refreshed every minute. What is the best way to achieve that ? 1- client side : a settimeout in a js script that triggers a LC script on a remote server via xmlhttp, and returns xml data that is analyzed and displ

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread panagiotis merakos via use-livecode
Hi all, Thank you for the feedback. I am afraid that all those useful suggestions will be buried in the use-list, so I have filed an enhancement request that summarizes the most common suggestions about improving the default handlers as discussed here. http://quality.livecode.com/show_bug.cgi?id=

Native Livecode Pinch and Zoom

2017-07-12 Thread Sannyasin Brahmanathaswami via use-livecode
It appears we won't get pinch and zoom in the browser widget on mobile. It's back to using a native LC interface for a big map adventure where the user can zoom into an area and then pinch back out The use case is still the same: use a "Maha" = enormous/big SVG graphic that looks awesome and sh

[ANN] north widget

2017-07-12 Thread BNig via use-livecode
North is a widget that indicates north like a compass or direction indicator. http://forums.livecode.com/viewtopic.php?f=93&t=29486 Kind regards Bernd -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/ANN-north-widget-tp4716915.html Sent from the Revolution - Use

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Sannyasin Brahmanathaswami via use-livecode
I had almost the same sense as Mark on this. Distracting at first, but no really in the And since we are look at usability of the script editor and add ons I would LOVE to have the ability to show "sections" in my scripts I think it was years ago, or maybe even nowin GLX? anyway, Jerry Daniel

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Mike Kerner via use-livecode
Configurable would be great, because that would be the start of having Macros, and having those macros be configurable, and having them be able to do things like using the hilited text to build a structure On Wed, Jul 12, 2017 at 5:01 AM, Matthias Rebbe via use-livecode < use-livecode@lists.runrev

like doing a short test for me?, was: No screenshot from LC video possible

2017-07-12 Thread Tiemo Hollmann TB via use-livecode
Hello, Windows developers only! since I have no idea, what the reason of my "no screenshot" problem is, I want to try to compare system configurations of the machines, where this problem occurs to find with some luck, what they have in common and so perhaps the source of this issue, though I prob

Re: [ANN] Release 8.1.5 -- tsneterr

2017-07-12 Thread Charles Warwick via use-livecode
Hi Dan, The error message "Not initialised" (the spelling is correct depending on where you live ;-) ) indicates that the tsNet external isn't running. If you are using libUrl which I am guessing you are, tsNet is initialised on startup, so this would indicate that it has either been shut do

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Matthias Rebbe via use-livecode
This feature in general is a good idea. But - make it more visible that those handler are not current handler of the script, e.g. grey out that list - allow a bigger space between the script handler and the handler list - show this list by default, so new users see that list by default, but all

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Richmond Mathewson via use-livecode
I'm going to show this version to "my" kids this afternoon . . . Richmond. On 7/12/17 1:12 am, Tore Nilsen via use-livecode wrote: I have played a bit with the enhanced script editor and while I like the idea with the handler lists I am not sure that the implementation is as good as it could

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Richmond Mathewson via use-livecode
"We are working hard to attract new users" . . . Well that feature certainly should make things quite a bit easier! Richmond. On 7/12/17 1:07 am, Kevin Miller via use-livecode wrote: Is it something perhaps you could get used to? We are working hard to attract new users to the platform. This

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Richmond Mathewson via use-livecode
That's not a bad idea: to turn on/off this feature in the preferences. Richmond. On 7/12/17 1:05 am, Matthias Rebbe via use-livecode wrote: Matthias Rebbe +49 5741 31 ‌matthiasrebbe.eu ‌ A new feature in the script editor has been added, this is the ability to ch

Re: [ANN] Release 8.1.6 RC-1

2017-07-12 Thread Richmond Mathewson via use-livecode
I think that this new feature is really wonderful; especially as new users of LiveCode won't have to wait (like I did) for 5 years to find out about "MouseEnter" :) Richmond. On 7/12/17 12:52 am, panagiotis merakos via use-livecode wrote: H Richmond, Thanks for the feedback. The default handl