multiplatform invisible char

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

multiplatform invisible char

Post by jmburnod » Wed Nov 13, 2013 12:13 pm

Hi All,

I look for an invisible char to separate each letter of a word or an other way to get the position of the cliqued char.
Is it reasonable to use numtochar(0)

Thanks for help

Best regards
Jean-Marc
https://alternatic.ch

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5150
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

Re: multiplatform invisible char

Post by Mark » Wed Nov 13, 2013 3:59 pm

Hi Jean-Marc,

The NULL char will get you in trouble.

To get the position of the clicked char, use the clickCharChunk. (Section 3.2 of my book).

Kind regards,

Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2729
Joined: Sat Dec 22, 2007 5:35 pm
Contact:

Re: multiplatform invisible char

Post by jmburnod » Wed Nov 13, 2013 5:00 pm

Thank again Mark,

I use clickCharChunk and it work fine for what I havo to do
Kind regards
Jean-Marc
https://alternatic.ch

Post Reply