Search found 65 matches

by Tukcedo
Wed Jan 14, 2015 6:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click sound when a button is pressed?
Replies: 10
Views: 4950

Re: Click sound when a button is pressed?

Hmmmm yeah that was my original idea too, but any ideas on the overhead guys?
by Tukcedo
Tue Jan 13, 2015 9:53 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Click sound when a button is pressed?
Replies: 10
Views: 4950

Click sound when a button is pressed?

Dear all, Please excuse my (formidable) ignorance, but is there a simple way of producing a subtle "click" sound when a button is pressed. Having read up on it, I suppose I could just play a WAV, but that might incur too much overhead. It's for Android by the way, or should I say "mobile". Thanks!!!...
by Tukcedo
Tue Nov 18, 2014 7:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: How to open *.livecode
Replies: 18
Views: 11323

Re: How to open *.livecode

Could this have to do with the file association feature in Windows? I mean, when it sees an .xls it knows it's an Excel file etc. and it will open the correct executable for it with the file loaded. I seem to remember you can define those file associations somewhere.
by Tukcedo
Mon Nov 17, 2014 6:39 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android native scroller woes
Replies: 12
Views: 6351

Re: Android native scroller woes

I'm by no means an expert but that's also my understanding of the scroller: the content's rect is larger than the rect of the scrolled area (the group). Anyway, tested the code again according to Simon's tips. The canBounce makes no difference in LCC 7.0.1rc1, but I ran it with LCC 6.2.2 and it work...
by Tukcedo
Mon Nov 17, 2014 7:02 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android native scroller woes
Replies: 12
Views: 6351

Re: Android native scroller woes

Two good suggestions to try tonight Simon: the bouncy thing and another version of LCC, thx. This is indeed a version that's not doing anything on my Sony Z1 Compact. What are you using to test it Simon?
by Tukcedo
Sun Nov 16, 2014 7:28 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android native scroller woes
Replies: 12
Views: 6351

Re: Android native scroller woes

Unfortunately, it doesn't seem to be a problem with nested groups. I did a test with just basic controls and no groups but it still fails. The sample code from the lesson works so it should be possible, but when I replace it with my own code (see the attachment) it fails. The problem could be that t...
by Tukcedo
Sun Nov 16, 2014 1:01 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android native scroller woes
Replies: 12
Views: 6351

Re: Android native scroller woes

The sample stack that is included in this lesson works for me. Built with LCC 7.0.1rc1

http://lessons.runrev.com/m/4069/l/9441 ... ll-a-field
by Tukcedo
Sun Nov 16, 2014 9:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android native scroller woes
Replies: 12
Views: 6351

Re: Android native scroller woes

Interesting point Simon, yes indeed the browser is a group inside of the larger one. The rest of the objects also don't scroll though but good suggestion, I'll try that today!
by Tukcedo
Sun Nov 16, 2014 7:05 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android native scroller woes
Replies: 12
Views: 6351

Re: Android native scroller woes

Yes, I do. But the sample stack that's given in the example works. I also locked the size/position of the group.
by Tukcedo
Sat Nov 15, 2014 8:54 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android native scroller woes
Replies: 12
Views: 6351

Android native scroller woes

LiveCoders, I'm trying to get an area of my screen on Android to scroll, preferably without a vertical scrolbar (which works, but it's not very pretty). I've tried to follow this lesson: http://lessons.runrev.com/m/4069/l/94412-creating-a-native-scroller-to-scroll-a-field In my case, I've got a few ...
by Tukcedo
Mon Nov 03, 2014 7:31 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can I pass a reference to an array element?
Replies: 7
Views: 4129

Re: Can I pass a reference to an array element?

UPDATE:

After doing some tests it turned out that the mobilePickPhoto that I was using deeper down actually just wants a file name, rather than a variable. So after setting the array item to a name, it worked like a dream ...

Code: Select all

put "Image_" & pImageCount into pImageArray[pImageCount]
by Tukcedo
Mon Nov 03, 2014 7:26 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Database connection so frustrating
Replies: 25
Views: 12062

Re: Database connection so frustrating

Could this be the same (confirmed) bug I experienced in Ubuntu 14.04? Still not solved in 7.0.1 rc1 as far as I can tell

http://quality.runrev.com/show_bug.cgi?id=13213
by Tukcedo
Sun Oct 26, 2014 11:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can I pass a reference to an array element?
Replies: 7
Views: 4129

Re: Can I pass a reference to an array element?

Excellent, I'll try a little PoC tomorrow. Thx for the help!
by Tukcedo
Sun Oct 26, 2014 10:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can I pass a reference to an array element?
Replies: 7
Views: 4129

Re: Can I pass a reference to an array element?

Interesting thought Bernd, but I don't quite understand what it does on mouseUp put "2,1,3" into tLIstArray split tListArray by comma # so now we have tListArray[2], tListArray[1] and tListArray[3] put any line of the keys of tListArray into tKey # looks like we're back at 2, 1, 3 again, the keys of...
by Tukcedo
Sun Oct 26, 2014 9:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Can I pass a reference to an array element?
Replies: 7
Views: 4129

Re: Can I pass a reference to an array element?

Considering we're always dealing with associative arrays in LC (as far as I understand it) and so the elements are created as we go along, I've made sure (I'm putting an "answer" in the code) that pImageCount is actually "1" when we start. Therefore I believe that pImageArray[1] is a valid reference...

Go to advanced search