Re: Max number of columns in a datagrid?

2018-11-20 Thread dunbarxx via use-livecode
Hi. Never thought about this. But I made a DG, and put this into a button: on mouseup repeat 300 put random() & tab after temp end repeat set the dgText of grp 1 to temp end mouseup No problem. With a horizontal scrollbar, I can zoom to each side of the DG. But If I try to

Printing Crashes in LC 9

2018-11-20 Thread Knapp Martin via use-livecode
Anybody besides me having occasional crashes while printing in LC 9? I don't have a recipe but it happens every once in a while in both LC 9.0.1 and LC 9.0.2 rc1. In the IDE and in a standalone (Mac). I have filed bug report 21473 (first reported in August) and have added crash reports from 4

Max number of columns in a datagrid?

2018-11-20 Thread Bob Sneidar via use-livecode
Hi all. I'm importing a csv file with a LOT of columns, and I am running into an issue with setting the dgProp ["columns"] of the datagrid. It's choking on the number of columns it seems. What is the max? Bob S ___ use-livecode mailing list use-li

Re: Datagrids and LC 9.0.2 rc1

2018-11-20 Thread Monte Goulding via use-livecode
> On 21 Nov 2018, at 9:45 am, Knapp Martin via use-livecode > wrote: > > It does it in the ide too. The data grid can display 10 lines of data at a > time and with very small data sets it will work, although slugishly. I just > created a stripped down stack that demonstrates the issue and wi

Re: Datagrids and LC 9.0.2 rc1

2018-11-20 Thread Knapp Martin via use-livecode
It does it in the ide too. The data grid can display 10 lines of data at a time and with very small data sets it will work, although slugishly. I just created a stripped down stack that demonstrates the issue and with a few hundred lines it will open but only display 10 lines and that’s it. On a

Clipboard mobile

2018-11-20 Thread Jose Enrique Montero via use-livecode
I've checking the new sticker for whatsaap, but I need to send to whatsaap the images in a obj. Anyone have a Idea, maybe using JavaScript script in a browser widget ? Best regards José Enrique Montero Enviado desde mi iPhone ___ use-livecode maili

Re: Datagrids and LC 9.0.2 rc1

2018-11-20 Thread Monte Goulding via use-livecode
> On 21 Nov 2018, at 6:59 am, Knapp Martin via use-livecode > wrote: > > Anybody having trouble with data grids in LC 9.0.2 rc1? I have a forms-based > data grid that works fine under 9.0.1 but on 9.0.2 rc1, in a standalone when > I try to open the stack with the data grid it locks up on bot

Datagrids and LC 9.0.2 rc1

2018-11-20 Thread Knapp Martin via use-livecode
Anybody having trouble with data grids in LC 9.0.2 rc1? I have a forms-based data grid that works fine under 9.0.1 but on 9.0.2 rc1, in a standalone when I try to open the stack with the data grid it locks up on both Mac and Windows. I can drag windows by the titlebar but everything else is unre

Re: What is LC's internal text format?

2018-11-20 Thread Bob Sneidar via use-livecode
> On Nov 20, 2018, at 10:24 , Ben Rubinstein via use-livecode > wrote: > > This isn't about strongly typed variables though, but about when (correct) > conversion is possible. > > LC throws an error if you implicitly ask it to convert the wrong kind of > string to a number - for example, a

Re: iOS sharing extension

2018-11-20 Thread Ben Rubinstein via use-livecode
You need to do two things: - add code in your app to handle the "urlWakeUp" message, see the dictionary entry and http://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes - add entries in the app's plist to tell the operating system what file types your app can handle, see https:/

Re: What is LC's internal text format?

2018-11-20 Thread Geoff Canyon via use-livecode
I'll chip in and point out that the implicit conversion caused significant hiccups in figuring out the offsets issues -- several people (including me) were fooled by the fact that conversion to UTF-32 results in binary data, but can be transparently treated as text. Or maybe I'm mistaken/misremembe

Re: What is LC's internal text format?

2018-11-20 Thread Ben Rubinstein via use-livecode
This isn't about strongly typed variables though, but about when (correct) conversion is possible. LC throws an error if you implicitly ask it to convert the wrong kind of string to a number - for example, add 45 to "horse". (Obviously multiplication is fine: the answer would be "45 horses".)

Re: What is LC's internal text format?

2018-11-20 Thread Mark Wieder via use-livecode
On 11/20/18 8:33 AM, Ben Rubinstein via use-livecode wrote: Would it not be better to refuse to make an assumption, i.e. require an explicit conversion? While I'd love to have the option of strongly typed variables at the scripting level, I know better than to expect that this will ever happe

Re: What is LC's internal text format?

2018-11-20 Thread Bob Sneidar via use-livecode
I'm not grasping the import of the question here, but it seems to me that the question is about what happens "under the hood", in relation to the format of the data as it is exposed to any I/O. It seems to me that in this context it's academic. If there is a problem with what's going on "under t

Re: What is LC's internal text format?

2018-11-20 Thread Ben Rubinstein via use-livecode
Hi Monte, Thanks for this, sorry for delayed reply - I've been away. >> Does textEncode _always_ return a binary string? Or, if invoked with "CP1252", "ISO-8859-1", "MacRoman" or "Native", does it return a string? > > Internally we have different types of values. So we have MCStringRef which

Re: [OT] Send me your blogs

2018-11-20 Thread Bob Sneidar via use-livecode
Ahh. The golden days of internet blogging. It looked for all the world like we were going to solve all the worlds problems. Then the trolls came... 🤨 On Nov 20, 2018, at 04:17 , Andre Alves Garzia via use-livecode mailto:use-livecode@lists.runrev.com>> wrote: This is in part motivated by the "

[OT] Send me your blogs

2018-11-20 Thread Andre Alves Garzia via use-livecode
Hey Friends, Recently I've returned to blogging and resumed reading and subscribing to interesting blogs. I've posted about it at: http://andregarzia.com/2018/11/reading-blogs-with-thunderbird.html So, if you folks have your own blogs, please their URL to me so that  I can subscribe. The mo