Re: Odd native scroller issue on iOS

2016-05-18 Thread Terry Judd
Scott, you are an absolute legend! Setting the vScroll of the scroller to itself when the scroller is initialised didn't help (the routine to create all native controls is called in an openCard handler) but applying your workaround each time one of the form elements is toggled (and the

Installing LiveCode 8

2016-05-18 Thread gagsoft
Hi Guys When installing LiveCode 8 on El Capitan version 10.11.4, an error dialog. On opening the dictionary it seems as if this was not installed….it is empty. Has anybody you experienced this and is there a way to manually fix this? See attached image. Any pointers would be appreciated.

Re: Odd native scroller issue on iOS

2016-05-18 Thread Terry Judd
So, after some more of Œtrying everything¹ it seems that it¹s the scroller¹s rect rather than its contentRect that is causing problems. If I pull the rect in far enough on both sides so that it doesn¹t overlap the affected control but keep the contentRect large enough that it does cover them then

Re: Odd native scroller issue on iOS

2016-05-18 Thread Scott Rossi
Try setting the vScroll of the scroller to itself (its current value) upon opening the card or after creating the scroller. Goofy, yes, but doing so may solve the problem. Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/18/16, 9:11 PM, "use-livecode on behalf of

Odd native scroller issue on iOS

2016-05-18 Thread Terry Judd
I’m having an issue with a native scroller on iOS. It’s used to scroll a group of expanding and contracting form elements that each contain a number of ‘on/off’ buttons. It all works well enough (with the contentRect of the scroller being adjusted each time an element is expanded or contracted)

A Personal Challenge

2016-05-18 Thread Mark Smith
Apologies for cross posting... In the last couple of days, 173 backers (excluding Livecode) have contributed $22,833 towards the Infinite Livecode campaign (or about $130 dollars each). So first a huge THANK YOU to everyone who has contributed because I know times are tough. But I also know this

Re: Storing and retrieving data from a SQL database

2016-05-18 Thread Lyn Teyla
Paul Dupuis wrote: > Does anyone have some really good (comprehensive) routines to escape and > unescape text data for storing in a SQL database (like SQLite or MySQL) HostM’s server-side demo stack comes with a function (look for the one named "se") that you can use:

Re: Storing and retrieving data from a SQL database

2016-05-18 Thread Mike Kerner
Why not just use parameterized queries? On Wed, May 18, 2016 at 8:16 PM, Paul Dupuis wrote: > Does anyone have some really good (comprehensive) routines to escape and > unescape text data for storing in a SQL database (like SQLite or MySQL) > > basics like: > replace cr

Storing and retrieving data from a SQL database

2016-05-18 Thread Paul Dupuis
Does anyone have some really good (comprehensive) routines to escape and unescape text data for storing in a SQL database (like SQLite or MySQL) basics like: replace cr with "\n" in pText -- replace any cr with "\n" for new line replace tab with "\t" in pText-- replace tabs with "\t" replace "'"

Re: Missing split option?

2016-05-18 Thread Phil Davis
Brothers of other mothers! Phil On 5/18/16 2:27 PM, Mark Talluto wrote: On May 18, 2016, at 12:15 PM, Phil Davis wrote: What, you don't use the long seconds? That goes to a way finer granularity than millisecs. (I have a defect similar to yours) Phil Davis On 5/18/16

Re: Missing split option?

2016-05-18 Thread Mark Talluto
> On May 18, 2016, at 12:15 PM, Phil Davis wrote: > > What, you don't use the long seconds? That goes to a way finer granularity > than millisecs. (I have a defect similar to yours) > > Phil Davis > > > On 5/18/16 12:02 PM, Richard Gaskin wrote: >> Most things I benchmark

Re: Missing split option?

2016-05-18 Thread [-hh]
@Richard. I like your benchmarking "soft spot" and I've learned both from your stacks and considerations, appreciating that until now. But you really could add a smiley if you *interpret* a 1/1 second difference of timing ;-) @Phil. The additional digits of the long seconds are probably

LiveCode Quits

2016-05-18 Thread Javier Miranda
Hi friends, hope you can help me with this, I downloaded LiveCode 8 Community Edition, but it quits after I click on the big green button "Start Interactive Tour" of the Start Center. If instead of trying the Tour I open a Stack, the Open Dialog appears and the selected Stack opens for a second

Re: Missing split option?

2016-05-18 Thread Phil Davis
What, you don't use the long seconds? That goes to a way finer granularity than millisecs. (I have a defect similar to yours) Phil Davis On 5/18/16 12:02 PM, Richard Gaskin wrote: Most things I benchmark are too quick to be worth the effort, but it's an old habit and helps me learn so I just

Re: Missing split option?

2016-05-18 Thread Richard Gaskin
-hh wrote: > Richard G. wrote >> Interestingly (though only mildly) I was able to shave off about >> 1/10th of a millisecond. > > This is *very* interesting: > How did you success in measuring a difference of 1/10th of a > millisecond? I was born with a birth defect that gives me an unusually

Re: Missing split option?

2016-05-18 Thread [-hh]
Richard G. wrote > Interestingly (though only mildly) I was able to shave off about 1/10th > of a millisecond. This is *very* interesting: How did you success in measuring a difference of 1/10th of a millisecond? What started the timing? A mouseEvent? A keyboardEvent? -- View this message in

Re: Daft "text Editor" question

2016-05-18 Thread Roger Eller
I never knew (or looked for it) in the Edit menu. I've always selected a stack, then pressed Control-F (on Windows). It's great for changing the names of hidden buttons too. ~Roger On Wed, May 18, 2016 at 1:19 PM, Scott Rossi wrote: > If you look at the Find and

Re: Daft "text Editor" question

2016-05-18 Thread RM
Now THAT seems to be the information I am looking for. Thank you very much indeed. Richmond. On 18.05.2016 20:19, Scott Rossi wrote: If you look at the Find and Replace... option in the Edit menu, you'll see you can do replace actions throughout a stack by changing the "In" option to "This

Re: Daft "text Editor" question

2016-05-18 Thread Scott Rossi
If you look at the Find and Replace... option in the Edit menu, you'll see you can do replace actions throughout a stack by changing the "In" option to "This stack and its stack files". Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 5/18/16, 10:05 AM, "use-livecode on

Re: Bullet • Mac/Win

2016-05-18 Thread RM
If you are working with any version from 7.0 upwards you should be able to "just" do this: put whatever & TAB & *numToCodePoint(8226)* & anothervar & CR after tDGText give it a try and revert to me :) Best, Richmond. On 18.05.2016 18:55, Klaus major-k wrote: Hi Richmond, Am 18.05.2016 um

Re: Daft "text Editor" question

2016-05-18 Thread RM
On 18.05.2016 18:45, J. Landman Gay wrote: You can read and edit stack files in most text editors (I use BBEdit) but note that LC won't recognize the altered file as a valid stack if you try to open it later. Aah: that is where the antic sits (check out Shakespeare's "Richard II": it

Re: Missing split option?

2016-05-18 Thread Richard Gaskin
Bob Sneidar wrote: > On May 18, 2016, at 08:37 , Richard Gaskin wrote: > >> DGs will give the array directly so I don't need to deal with that >> when using those as the Master, but more often I use list fields >> for the Master, where it would be convenient to have the array made >> in one

Re: Bullet • Mac/Win

2016-05-18 Thread Klaus major-k
Hi Mike, > Am 18.05.2016 um 18:06 schrieb Mike Bonner : > > You can set it up in your script as a constant to avoid some typing. > > Do the numtocodepoint in the text box then paste the thing into your > constant declaration. thanks, will keep this in mind for future uses

Re: Bullet • Mac/Win

2016-05-18 Thread Mike Bonner
You can set it up in your script as a constant to avoid some typing. Do the numtocodepoint in the text box then paste the thing into your constant declaration. On Wed, May 18, 2016 at 10:03 AM, Klaus major-k wrote: > Hi Bob, > > > Am 18.05.2016 um 17:58 schrieb Bob Sneidar

Re: Bullet • Mac/Win

2016-05-18 Thread Klaus major-k
Hi Devin, > Am 18.05.2016 um 18:00 schrieb Devin Asay : >> ... >> Please pardon my ignorance, but how can I create a tab delimited text list >> (for a datagrid) that contains this bullet? >> ... >> put whatever & TAB & XXX & anothervar & CR after tDGText >> ## Where XXX should

Re: Bullet • Mac/Win

2016-05-18 Thread Klaus major-k
Hi Bob, > Am 18.05.2016 um 17:58 schrieb Bob Sneidar : > > Hi Klaus. > > What I did is create a bullet point graphic (could use an SVG path??) unfortunatley we cannot use SVGs like a“regular“ image object (yet)! > then set the imageSource of the first character

Re: Missing split option?

2016-05-18 Thread Paul Dupuis
On 5/18/2016 10:36 AM, Richard Gaskin wrote: > This morning it seemed natural enough to me to take this data: > > IDName Email > 101 Richard r...@somedomain.com > > ...and turn that into an array where the first line determines the key > names and the second line consists of the

Re: Bullet • Mac/Win

2016-05-18 Thread Devin Asay
> On May 18, 2016, at 9:55 AM, Klaus major-k wrote: > > Hi Richmond, > >> Am 18.05.2016 um 17:45 schrieb RM : >> >> Dear Klaus, >> >> As Macintosh and Windows versions of Livecode, and the 2 operating systems, >> are Unicode compliant >> as

Re: Bullet • Mac/Win

2016-05-18 Thread Klaus major-k
Hi Richmond, > Am 18.05.2016 um 17:45 schrieb RM : > > Dear Klaus, > > As Macintosh and Windows versions of Livecode, and the 2 operating systems, > are Unicode compliant > as long as you use the Unicode compliant bullet-point symbol [Hex 2022, > Decimal 8226]

Re: Missing split option?

2016-05-18 Thread Bob Sneidar
I was thinking of having a hidden data grid for the sole purpose of converting your data to an array. The repeat loop you are looking for may already been written in the datagrid library, which begs the possibility, why not get that function from the datagrid library itself? Might have some

LibURLftpUploadFile doesn't work with Windows Firewall On

2016-05-18 Thread Ray
I'm issuing the following Lib URL commands libURLSetFTPMode "active" -- our FTP server doesn't work otherwise for some reason libURLSetStatusCallback "uploadProgress", the long ID of me libURLftpUploadFile tFileForUpload, tDestination, "uploadComplete" This only works on my

Re: Bullet • Mac/Win

2016-05-18 Thread RM
Dear Klaus, As Macintosh and Windows versions of Livecode, and the 2 operating systems, are Unicode compliant as long as you use the Unicode compliant bullet-point symbol [Hex 2022, Decimal 8226] there should be no reason why it should not cross from Mac to Windows without going "funny".

Re: Missing split option?

2016-05-18 Thread J. Landman Gay
Splitting by column or row uses the rowdelimiter and columndelimiter properties, which are cr and tab by default, but you can change them. In your example you wouldn't need to. But splitting by column won't give what you want, I don't think. If I remember right it will give a numbered array

Bullet • Mac/Win

2016-05-18 Thread Klaus major-k
Hi friends, I do not have a Win PC at hand, so my question: Since version 7.x we have unicode, does that mean that if I enter a bullet point (see subject) on my Mac into an LC field, i will also get a bullet point when opening that stack on Windows? Know what I mean? Thanks a lot in advance!

Re: Missing split option?

2016-05-18 Thread Bob Sneidar
Okay reading further it seems there are two forms: "using | with" (synonyms) and "by column". The documentation is incorrect (or else I misunderstand what "{by | using | with}" means) where it says: Syntax: split variable {by | using | with} primaryDelimiter [and secondaryDelimiter] split

Re: Missing split option?

2016-05-18 Thread Bob Sneidar
Oh and I am reminded that split will only produce simple one dimensional arrays, not 2 dimensional ones as you seem to envision. I've complained about this a couple times as it seems at first blush to be a great engine based way to create arrays fro text, but alas, no. Split will NOT produce

Re: Missing split option?

2016-05-18 Thread Richard Gaskin
Bob Sneidar wrote: >> On May 18, 2016, at 07:36 , Richard Gaskin wrote: >> >> This morning it seemed natural enough to me to take this data: >> >> IDName Email >> 101 Richard rg at somedomain.com >> >> ...and turn that into an array where the first line determines the >> key names

Re: Missing split option?

2016-05-18 Thread Bob Sneidar
"by | using | with" are synonyms so far as I can tell from the dictionary. Should be: split tData with cr and tab Bob S > On May 18, 2016, at 07:36 , Richard Gaskin wrote: > > This morning it seemed natural enough to me to take this data: > > IDName

Missing split option?

2016-05-18 Thread Richard Gaskin
This morning it seemed natural enough to me to take this data: IDName Email 101 Richard r...@somedomain.com ...and turn that into an array where the first line determines the key names and the second line consists of the values using this: split tData by column with cr and tab

Re: tree view widget

2016-05-18 Thread Klaus major-k
Hi Ali, > Am 18.05.2016 um 15:51 schrieb Ali Lloyd : > > Hi Klaus, > Although we currently have no plans to do that ourselves,it shouldn't be > too hard to turn the string that's used for the tree view into a property > of the widget, since it is almost completely

Re: line graph widget > Help is welcome...

2016-05-18 Thread Ton Kuypers
Grapjas ;-) Met vriendelijke groeten, Warm Regards, Ton Kuypers +32 (0) 477 739 530 Steenweg op Leopoldsburg 100 • B-2490 • Balen • Belgium www.publishingtools4u.com > On 18 mei 2016, at 14:36, Erik Beugelaar wrote: > > Hi Ton, > > Pledge or Infinite LiveCode and

Re: tree view widget

2016-05-18 Thread Ali Lloyd
Hi Klaus, Although we currently have no plans to do that ourselves, it shouldn't be too hard to turn the string that's used for the tree view into a property of the widget, since it is almost completely independent of the rest of the code. You'd just need to define a new member variable (say

Re: Daft "text Editor" question

2016-05-18 Thread Richard Gaskin
RM wrote: > Does anyone know of a word-processing type program that can open .rev > and .livecode files so that one can see ALL the scripts of ALL the > objects in one long document? > > This may sound a bit daft, but I am considering "refactoring" the > code-base for my Devawriter Pro from pre

Re: line graph widget > Help is welcome...

2016-05-18 Thread Ali Lloyd
Hi Ton, The graph widget layout code is rather complicated because of the relationship between the available space for the graph and how much space is needed for the axis labels. It is mainly for space saving reasons that the drawYLabels handler does the following: put the rounded of tNumber

Re: Daft "text Editor" question

2016-05-18 Thread Randy Hengst
Richmond, Apple’s TextEdit works for me in Yosemite and El Capitan. I don’t have access to an earlier OS to check. be well, randy > On May 18, 2016, at 5:25 AM, Peter W A Wood wrote: > > Richmond > >> On 18 May 2016, at 18:03, RM wrote:

Re: line graph widget > Help is welcome...

2016-05-18 Thread Erik Beugelaar
Hi Ton, Pledge or Infinite LiveCode and this will all be low hanging fruit this summer ;-) Kind regards, Erik P.S. Just in case: this is a joke. Sent from solidit On 18/05/16 14:28, "use-livecode on behalf of Ton Kuypers"

Re: line graph widget > Help is welcome...

2016-05-18 Thread Ton Kuypers
Just opened the .lcb file (thanks Peter), but this is not for average programmers like myself… Could anyone give me some pointers, or maybe modify the widget? It would be great to set a sub-devision like .5, .2 or .1 so the axis don’t only show integers... Met vriendelijke groeten, Warm

Re: line graph widget

2016-05-18 Thread Ton Kuypers
gr… Completely overlooked that one, thanks! Met vriendelijke groeten, Warm Regards, Ton Kuypers +32 (0) 477 739 530 Steenweg op Leopoldsburg 100 • B-2490 • Balen • Belgium www.publishingtools4u.com > On 18 mei 2016, at 14:10, Peter TB Brett wrote: > > On

Re: line graph widget

2016-05-18 Thread Peter TB Brett
On 18/05/2016 13:05, Ton Kuypers wrote: Is it possible to change the scale of the axes of this widget? It works fine, but when the values contain decimals, the axis only shows integers, so 5,6,6.3,6.4,6.9,7,8 will show up as 5,6,6,6,6,7,8 Would be great to set a sub-devision like .5 or .1 I

line graph widget

2016-05-18 Thread Ton Kuypers
Is it possible to change the scale of the axes of this widget? It works fine, but when the values contain decimals, the axis only shows integers, so 5,6,6.3,6.4,6.9,7,8 will show up as 5,6,6,6,6,7,8 Would be great to set a sub-devision like .5 or .1 I tried editing the source like Kevin showed

Re: tree view widget

2016-05-18 Thread Klaus major-k
Hi all, > Am 17.05.2016 um 21:32 schrieb J. Landman Gay : > > The array is malformed. The script should be: > > on mouseUp > put "Dog,Cat,Horse" into temp > repeat with i = 1 to the number of items of temp >put item i of temp into tHobby["John"]["Animal"][i] >

Re: Daft "text Editor" question

2016-05-18 Thread Peter W A Wood
Richmond > On 18 May 2016, at 18:03, RM wrote: > > Does anyone know of a word-processing type program that can open .rev and > .livecode > files so that one can see ALL the scripts of ALL the objects in one long > document? You can open them and read the scripts

Daft "text Editor" question

2016-05-18 Thread RM
Does anyone know of a word-processing type program that can open .rev and .livecode files so that one can see ALL the scripts of ALL the objects in one long document? This may sound a bit daft, but I am considering "refactoring" the code-base for my Devawriter Pro from pre version 7 to post

RE: Downloading thirdparty products

2016-05-18 Thread Malte Brill
Hi, please remember that you always can find the most current version on github: https://github.com/derbrill/animationEngine All the best, Malte > I see my > subscription of AnimationEngine (version 6) but I can not download it. > ___

Re: Downloading thirdparty products

2016-05-18 Thread Erik Beugelaar
Ok Tiemo, Thanks for the info. Erik On 08:37, Wed, May 18, 2016 Tiemo Hollmann TB wrote: > Hi Erik, > > yes. > > Heather told me, that they have not finished yet all products in the new > account interface. > Animation engine is still available in the old interface here:

Re: LiveCode + WordPress = Infinite Possibilities

2016-05-18 Thread Dave Kilroy
Thank you Todd that is very generous of you, ability to connect to WordPress (never mind WooCommerce and Gravity) is a BIG DEAL! Kind regards Dave Todd Fabacher wrote > We are happy to be part of the LiveCode community, and do our part to > enhance open source software. But open source is

AW: Downloading thirdparty products

2016-05-18 Thread Tiemo Hollmann TB
Hi Erik, yes. Heather told me, that they have not finished yet all products in the new account interface. Animation engine is still available in the old interface here: http://livecode.com/account/products/products-old Though it is version 5 and not 6 Tiemo -Ursprüngliche Nachricht-

Downloading thirdparty products

2016-05-18 Thread Erik Beugelaar
Hi All, If I login at my LiveCode account and go to Thirdparty Products I see my subscription of AnimationEngine (version 6) but I can not download it. Does anybody have the same experience with other third party products on the website? Kind regards, Erik Sent from solidit