Search found 4207 matches

by jacque
Fri May 25, 2018 9:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Setting text style of disabled controls
Replies: 7
Views: 138

Re: Setting text style of disabled controls

Now, I want to change the default behavior of a button which is disabled. I did not find any way through scripting or other ways to change, for example, the text color or text style of disabled buttons. The text color is always grey on a white background and 3D raised. You can script this: on btnEn...
by jacque
Wed May 23, 2018 8:40 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Repeat Timer
Replies: 10
Views: 231

Re: Repeat Timer

Sometimes the code runs so fast that you will get a backup of pending messages in the queue. To avoid that you should check if the message is already in the queue before sending another one. (This showed up in another thread here recently.) on startTimer global stopcountdown if stopcountdown = 1 the...
by jacque
Wed May 23, 2018 4:49 pm
Forum: Talking LiveCode
Topic: Writing UTF/8 from a field?
Replies: 5
Views: 119

Re: Writing UTF/8 from a field?

Just to add : LC uses UTF 16, and without textEncode, that's what the browser will get. The tipoff is all the missing characters and the weird symbols. LC recommends using textEncode any time you move data in or out of LC, unless you are sure the external app works with UTF 16.
by jacque
Wed May 23, 2018 4:35 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Merge stacks
Replies: 5
Views: 129

Re: Merge stacks

One way to make sure all resources are included would be to make each stack a substack of a new mainstack. The new mainstack could have a list of each substack and clicking on a list line would open the correct substack.
by jacque
Tue May 22, 2018 7:08 pm
Forum: Android Deployment
Topic: send email with attachment
Replies: 14
Views: 323

Re: send email with attachment

Is the file type really plain text? When you tried loading the data itself you used binfile. I've had trouble in the past when declaring the wrong file type.
by jacque
Tue May 22, 2018 6:59 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Repeat Timer
Replies: 10
Views: 231

Re: Repeat Timer

Is this what you want?

Code: Select all

if currentTimerValue = 0 then 
  sendEmail
  send "declare_timer" to me in 0
else 
  send "countDownTimer" && currentTimerValue to me in 1 sec
end if 
by jacque
Mon May 21, 2018 5:50 pm
Forum: Android Deployment
Topic: send email with attachment
Replies: 14
Views: 323

Re: send email with attachment

Are you using mobileComposeMail? Is the attachment a file name or the actual data?

If you can post the handler it would be helpful.
by jacque
Sun May 20, 2018 6:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What line is it?
Replies: 5
Views: 186

Re: What line is it?

The lineOffset function might be easier, but keep in mind that it will return only the first instance it finds unless you add the second "skip" parameter. Since you want the second item, search for space and the number. put lineOffset(space & tNum, fld x) into tLine That will give you the line numbe...
by jacque
Sat May 19, 2018 7:44 pm
Forum: Mac OS
Topic: codesign issue
Replies: 2
Views: 110

Re: codesign issue

It's kind of long, but this lesson gives you all the steps:
http://lessons.livecode.com/m/4071/l/87 ... -app-store

Many people just use AppWrapper instead. http://www.ohanaware.com/appwrapper/
by jacque
Fri May 18, 2018 4:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Test that JSON received is valid
Replies: 4
Views: 177

Re: Test that JSON received is valid

I've used try!/catch around a JSONImport function and it works. No need for regex that way.
by jacque
Fri May 18, 2018 4:10 pm
Forum: Data Grid Helper
Topic: Bought Datagrid Helper as part of a bundle a while ago - how to upgrade?
Replies: 7
Views: 138

Re: Bought Datagrid Helper as part of a bundle a while ago - how to upgrade?

You can contact the author directly here,, Zryip the Slug has posts in this forum, just tap on his name and send a private message. He'll get an email notification.
by jacque
Fri May 18, 2018 3:57 pm
Forum: Android Deployment
Topic: Livecode 9 - black screen problem
Replies: 6
Views: 339

Re: Livecode 9 - black screen problem

What is the minimum version you've set in standalone settings? If it's old, try a newer one like Kit Kat or Lollipop.
by jacque
Wed May 16, 2018 6:19 am
Forum: Talking LiveCode
Topic: mouseDown cripples menuPick
Replies: 17
Views: 314

Re: mouseDown cripples menuPick

bogs wrote:
Wed May 16, 2018 6:12 am
@Jacque-
Hm, I think I almost understand that. I'm not sure I agree with it being that way, but it isn't like I'd be changing it either.
Better get used to it, it's been that way since 1987. :)
by jacque
Tue May 15, 2018 10:46 pm
Forum: Talking LiveCode
Topic: Can't save stack issue
Replies: 6
Views: 174

Re: Can't save stack issue

Maybe insert "answer the filename of this stack" before saving and see if anything changed behind your back.
by jacque
Tue May 15, 2018 10:42 pm
Forum: Talking LiveCode
Topic: mouseDown cripples menuPick
Replies: 17
Views: 314

Re: mouseDown cripples menuPick

But I still am trying to grok the difference between simply exiting a mouseDown handler and exiting all the way to the engine. Exiting a handler returns it to the queue where it continues along the message path. Exiting to top specifically exits the message path entirely, effectively killing the me...

Go to advanced search