Search found 30 matches

by Cheong
Tue Dec 08, 2015 6:30 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to: Disable all buttons in the current card?
Replies: 2
Views: 2500

How to: Disable all buttons in the current card?

Hi readers,

Is there a way I can disable all buttons in the current card at once, rather than disable the buttons one by one in lines of coding?

Thanks.
by Cheong
Thu Nov 19, 2015 8:00 am
Forum: Android Deployment
Topic: How to: Simulate a touch on mobile?
Replies: 1
Views: 2219

How to: Simulate a touch on mobile?

Hi readers,

Is there a way to code the simulation for a touch on a specific location of the screen in android mobile?
Thanks.
by Cheong
Wed Nov 18, 2015 6:04 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Detect the name control/object name by clicking on it
Replies: 7
Views: 4796

Re: Detect the name control/object name by clicking on it

Thanks Craig Newman and FourthWorld,

Target works perfectly.
by Cheong
Wed Nov 18, 2015 3:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Detect the name control/object name by clicking on it
Replies: 7
Views: 4796

Detect the name control/object name by clicking on it

Hi readers,

Is it possible to detect the name of the object/control name in group when the user click on it? (Not a button, but such as images, field and etc.)
Can I use the result as a variable?
Any idea?
by Cheong
Tue Nov 17, 2015 4:54 am
Forum: Android Deployment
Topic: Android pull down to refresh?
Replies: 1
Views: 2362

Android pull down to refresh?

Dear readers,

Is there any guide that I can find to use for code pull down to trigger some event, such as to refresh my card?

Thanks.
by Cheong
Mon Nov 16, 2015 2:36 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Create an "answer" pop-up without the "ok" button?
Replies: 2
Views: 2319

Create an "answer" pop-up without the "ok" button?

Hi readers,

The default answer pop-up have the "ok" button to let user to close the answer pop-up. What if I want to make the pop-up just a plain text showing up, which not allowing user to close it but it will automatically be closed?

Any idea?

Thanks.
by Cheong
Mon Nov 16, 2015 2:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Not working: Set image layer by variable
Replies: 9
Views: 5766

Re: Not working: Set image layer by variable

Well, is there anyway I can make a pop up that is always on top of the card while some controls are being created after the pop up?
by Cheong
Fri Nov 13, 2015 7:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Not working: Set image layer by variable
Replies: 9
Views: 5766

Re: Not working: Set image layer by variable

Oh, I see it now. No matter what layer value you assigned, the layer will be automatically reduced to the highest possible value of layer compared to the others. Thanks.
If i use answer for poping-up the loading notification, can I make it without the "ok" button?
by Cheong
Fri Nov 13, 2015 6:56 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Not working: Set image layer by variable
Replies: 9
Views: 5766

Re: Not working: Set image layer by variable

Thanks Craig Newman, I am seeing that my image in the card doesn't go to the layer I assigned with the code. I know that layers works like this: Higher value of layer means it will be always on top of the other objects layer that have lower value. I look into the application browser, the value of th...
by Cheong
Fri Nov 13, 2015 3:59 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Not working: Set image layer by variable
Replies: 9
Views: 5766

Not working: Set image layer by variable

Hi readers, I used this code but then the image's layer is not changing when called. Here's the code: put (((NumberOfObjects-2)*3)+7) into LayerShouldBeAssigned answer LayerShouldBeAssigned set the layer of Image "LoadingPOPUP" to LayerShouldBeAssigned The answer given at the second line of coding i...
by Cheong
Fri Nov 13, 2015 2:17 am
Forum: Android Deployment
Topic: How to: Make scroll view for my controls in group?
Replies: 10
Views: 8638

Re: How to: Make scroll view for my controls in group?

Thanks people...

Ops! Changed from field to group, then changed the last part to this:

Code: Select all

  put the rect of group "CCTVList" into tScrollerRect
and finally it works!

I will look at your example stack and try to understand it, thanks Dixie!
by Cheong
Thu Nov 12, 2015 2:43 am
Forum: Android Deployment
Topic: How to: Make scroll view for my controls in group?
Replies: 10
Views: 8638

Re: How to: Make scroll view for my controls in group?

Thanks MaxV and Simon, But I still can't scroll my group. I followed the coding in the link given by Simon here. I made some modification though. Instead of using Field as content, I use the group as the content. Here are the code modified: on openCard if there is a group "VisibleArea" then delete g...