Search found 5278 matches

by dunbarx
Thu May 24, 2018 1:55 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Putting some life into an empty field
Replies: 2
Views: 79

Re: Putting some life into an empty field

What Sparkout said. So, are your fields indeed unlocked? If so, then also read in the dictionary about the "textChanged" message. The point he made was that you will have to use one or more of these in order to detect an "action" in an editable field. After all, "mouseUp" is only that, a message sen...
by dunbarx
Wed May 23, 2018 5:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Repeat Timer
Replies: 10
Views: 242

Re: Repeat Timer

Hi.

Without seeing the code in handler "doSendMail", it is hard to tell.

One generic solution is to change:

Code: Select all

if stopcountdown <= 1 then exit startTimer -- to top
This often catches situations where the "1" is skipped, ignored or irrelevant. :wink:

Craig
by dunbarx
Tue May 22, 2018 7:19 pm
Forum: Talking LiveCode
Topic: cannot trust first beeps
Replies: 2
Views: 73

Re: cannot trust first beeps

Richard.

Makes sense. Thanks.

Craig
by dunbarx
Tue May 22, 2018 5:49 pm
Forum: Talking LiveCode
Topic: cannot trust first beeps
Replies: 2
Views: 73

cannot trust first beeps

This has been going on forever. In a button script: on mouseup startTimer end mouseup on startTimer if the optionKey is down then exit to top beep 2 send "startTimer" to me in 60 end startTimer Works fine, but each time the process is initiated in a new LC session (and sporadically in an existing se...
by dunbarx
Tue May 22, 2018 4:07 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Repeat Timer
Replies: 10
Views: 242

Re: Repeat Timer

Hi. I guess you want a repeating timer? Put this in a button script: on mouseup startTimer end mouseup on startTimer if the optionKey is down then exit to top beep 2 --here is where you do your own stuff send "startTimer" to me in 1 second end startTimer I made the timing 1 second just so you can he...
by dunbarx
Tue May 22, 2018 2:16 am
Forum: Talking LiveCode
Topic: Using a DataGrid as a simple list control
Replies: 5
Views: 172

Re: Using a DataGrid as a simple list control

Hi. It is true that a user cannot edit a list field, because a list field is designed to appear to always have its lockText set to "true". So you have to do it yourself. One way: on mouseUp ask "Modify this line" with the selectedText put it into the selectedLine end mouseUp There are others. But wh...
by dunbarx
Mon May 21, 2018 9:34 pm
Forum: Talking LiveCode
Topic: Using a DataGrid as a simple list control
Replies: 5
Views: 172

Re: Using a DataGrid as a simple list control

Hi. If you have jump started using DG's, then you are doing just fine. But I always try to use a list field if I can. They are far easier to manage and set up, and far easier to program. If you do not really need the functionality of a DG, which certainly far exceeds that of a list field, I would st...
by dunbarx
Mon May 21, 2018 9:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: What line is it?
Replies: 5
Views: 187

Re: What line is it?

What everyone said. And especially Jacque's comment about the first instance. You ought to write a general purpose handler that extracts all the foundLines in any given search, as well as foundChunk within each. I have been using one forever, and find it an invaluable general purpose gadget that I c...
by dunbarx
Fri May 18, 2018 8:29 pm
Forum: Mac OS
Topic: ask/answer dialog weird issue: a solution
Replies: 3
Views: 130

Re: ask/answer dialog weird issue: a solution

This is likely the best advice one can give, after what I call "there is no way my code is at fault here".

It usually is, of course.

Craig
by dunbarx
Fri May 18, 2018 1:37 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Test that JSON received is valid
Replies: 4
Views: 178

Re: Test that JSON received is valid

Not specific to your import, would using the "try/catch" structure do the trick?

Craig
by dunbarx
Thu May 17, 2018 10:19 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: errors when trying to save as standalone
Replies: 6
Views: 150

Re: errors when trying to save as standalone

Hi.
so I need to keep everything in the original download.
The splash stack method will build into a single executable, regardless of how many stacks/substacks and their stack files are attached to the splash stack file.

Just so you know that.

Craig
by dunbarx
Thu May 17, 2018 9:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: errors when trying to save as standalone
Replies: 6
Views: 150

Re: errors when trying to save as standalone

Hi.

Are you using the "Splash Stack" method?

Craig
by dunbarx
Wed May 16, 2018 4:47 pm
Forum: Feature Requests
Topic: Multiple itemDelimiters
Replies: 22
Views: 3978

Re: Multiple itemDelimiters

Max.

Sure. Lots of creative ways to weave "additional" itemDelimters.

I want to know if you and others think either my request or Phaworth's variant is the best thing since unsliced bread.

Craig
by dunbarx
Wed May 16, 2018 3:03 pm
Forum: Talking LiveCode
Topic: mouseDown cripples menuPick
Replies: 17
Views: 317

Re: mouseDown cripples menuPick

Jacque. I understand the difference between exiting to top and exiting a handler. I just did not appreciate that sending a menuPick message from a menu button was dependent on mouseDown, an event which seemed to have occurred in the distant past. I would have thought that displaying the menuItems wa...
by dunbarx
Tue May 15, 2018 9:46 pm
Forum: Talking LiveCode
Topic: mouseDown cripples menuPick
Replies: 17
Views: 317

Re: mouseDown cripples menuPick

Richard wrote: If a mouseDown handler bypasses normal event handling with "exit to top", subsequent messages dependent on that message do not happen. As surmised, though only broadly; menuPick "depends" on mouseDown. But I still am trying to grok the difference between simply exiting a mouseDown han...

Go to advanced search