Jacqueline and Mike, thanks for you help with this.
Just to clarify, I am trying to solve the problem in the environment
where livecode is not running and the user double clicks on the
MasterLibrary stack. This is not a standalone program but a stack that
is being started from the desktop.
I'm confused. LiveCode knows how to open a stack as part of its startup
routine. Since card 1 is always opened first, a preopenstack handler there
will always fire and you can do your setup there from that card without
worrying about timing.
On December 27, 2014 10:12:19 AM CST, Michael Doub
I am having trouble clearing the textfont of the contents of field.
I have tried
set the textFont of word 1 to -1 of the text of fld i to empty
and
set the textFont of word 1 to -1 of the text of fld i to empty
but both generate errors.
I want to set the font by field
Just use set the textFont of word 1 to -1 of fld i to empty you don't
want the text of in there.
When I want to clear any fonts/sizes after a paste I use put me into
me in a closeField script.
Marty Knapp
I am having trouble clearing the textfont of the contents of field.
I have tried
You're trying to set the property of a proprety. the text of fld... is a
property, so if you just do set the textfont of word 1 to -1 of field i to
empty, I think it should work.
On Sat, Dec 27, 2014 at 9:50 AM, Dr. Hawkins doch...@gmail.com wrote:
I am having trouble clearing the textfont of
Other people may already know this, but I just discovered that you can do
something like:
put 12.34.56.78 into p
replace . with empty in char 4 to -1 of p
and sure enough, you get 12.345678
I did not know that the replace command can work on a chunk within a variable.
The documentation
On Sat, Dec 27, 2014 at 9:03 AM, Mike Bonner bonnm...@gmail.com wrote:
You're trying to set the property of a proprety. the text of fld... is a
property, so if you just do set the textfont of word 1 to -1 of field i to
empty, I think it should work.
Ahh. I see.
*duh*
:)
Thank you both
-Original Message-
From: Peter M. Brigham pmb...@gmail.com
To: How to use LiveCode use-livecode@lists.runrev.com
Sent: Sat, Dec 27, 2014 12:38 pm
Subject: I didn't know this...
Other people may already know this, but I just discovered that you can do
something like:
put 12.34.56.78
Hi,
The beauty of xTalk chunking expressions is that they do just this sort of
thing. So if you had:
ABCDEFG in a field 1, you can just as easily:
-- replace D with empty in fld 1
-- delete char 4 of fld 1
or:
set the itemDel to D
put item 1 of fld 1 item 2 of fld 1 into fld 1
Using
Folks,
Just to clarify here. I've responded to Gerry. There was nothing wrong with
the library, no change was needed. Facebook changed their setup and now the
dashboard looks different and some settings changed places. Thats all.
As usual, all my libraries are dual licensed and unlocked. One can
Hello John,
Please forgive this unsolicited mail, but I'm about at my wits end trying to
send push notifications using livecode server and noticed in your post that you
may be putting together something that might help.
Have you published anything and if so, where can I buy a copy?
Regards
Nice :-)
This isn't limited to variables but for works for fields as well.
Taken the liberty of entering an Enhancement Request - 14311 - that the
Dictionary entry be amended to include your example and note that replace
can also be used on chunks within a container, not just the entire
It's too bad this won't work:
put bob carol ted alice into S
replace c with x in char 1 of each word of S
put S -- puts bob xarol ted alice
On Sat, Dec 27, 2014 at 5:42 PM, Kay C Lan lan.kc.macm...@gmail.com wrote:
Nice :-)
This isn't limited to variables but for works for fields
13 matches
Mail list logo