Search found 416 matches

by sritcp
Sat Jun 23, 2012 10:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: iOS app: How to child-proof preference setting?
Replies: 4
Views: 2848

iOS app: How to child-proof preference setting?

I am developing an iPad app for children. (It is a language learning app for ESL children as well as children with hearing loss who are learning to listen and speak). The app consists of cards. Each card is an interactive exercise. We want the child to stay on the current card. Only the adult (paren...
by sritcp
Sat Jun 23, 2012 6:08 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How do I code "If this is a button, then ..."?
Replies: 11
Views: 5799

Re: How do I code "If this is a button, then ..."?

sturgis wrote:......
put word 1 of (target) -- force target to be completely evaluated first
And it works! And, I learned something today!

Thanks,
Sri.
by sritcp
Sat Jun 23, 2012 6:04 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to know when my audioClip has finished playing?
Replies: 2
Views: 1750

How to know when my audioClip has finished playing?

When a player is used, it sends a message playerFinished when it is done playing. But, when I play an imported audioClip, using play audioClip "clipName" how would I know it is finished? (actually, I am trying to make an image blink as long as the audioclip is playing). Thanks for any help, Sri.
by sritcp
Sat Jun 23, 2012 5:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How do I code "If this is a button, then ..."?
Replies: 11
Views: 5799

Re: How do I code "If this is a button, then ..."?

............. on mouseUp put target end mouseUp It works exactly as described........... Yes, but not if you try put word 1 of target I guess "word 1 of" doesn't work with target but does with the target . (By the way, I tried only with a button; so the "lockedText" explanation, while valid, didn't...
by sritcp
Sat Jun 23, 2012 3:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How do I code "If this is a button, then ..."?
Replies: 11
Views: 5799

Re: How do I code "If this is a button, then ..."?

I was referring to the following, found in the Comments section under target keyword in the dictionary If the target object is not a field, the target keyword reports the name of the object, just like the target function. I found that it does not; target keyword reports nothing; the message box is b...
by sritcp
Sat Jun 23, 2012 3:34 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How do I code "If this is a button, then ..."?
Replies: 11
Views: 5799

Re: How do I code "If this is a button, then ..."?

Hi sturgis:

Thanks. Simple and clever solution!
By the way, if I use target instead of the target, it doesn't work (even though the dictionary says that both are equivalent for objects other than a field).

Regards,
Sri.
by sritcp
Sat Jun 23, 2012 1:43 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How do I code "If this is a button, then ..."?
Replies: 11
Views: 5799

How do I code "If this is a button, then ..."?

I want my program to respond only if a button is clicked (not if clicked anywhere else). Since the action of all buttons on all cards are similar, I am trying to write a mouseUp message handler at the stack level. So I need to first make sure that if the click was received by a button. I tried If th...
by sritcp
Sat Jun 23, 2012 1:32 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Group Title and Border?
Replies: 4
Views: 2685

Re: Group Title and Border?

Hi Bernd:

Thanks, that clears it up!

Regards,
Sri.
by sritcp
Thu Jun 21, 2012 4:18 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Group Title and Border?
Replies: 4
Views: 2685

Re: Group Title and Border?

Dixie wrote:

Code: Select all

set the label of this stack to "Radio Group"
Hi Dixie:
Thanks for your suggestion. But setting the label does not give me the title border bar effect (see attached image). I have set the border color to blue in the inspector. No luck still.

Sri.
by sritcp
Thu Jun 21, 2012 3:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Group Title and Border?
Replies: 4
Views: 2685

Group Title and Border?

Hi: The LiveCode User Guide (fig 38, p 107) shows "Group of radio buttons with group title and border" with the title reverse printed on the title bar which has the border color. But there seems to be no way to do this; the group inspector has no options for this. My group simply shows the title abo...

Go to advanced search