Search found 1438 matches
- Wed Mar 25, 2009 8:26 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Simultaneous embedded audioclips
- Replies: 2
- Views: 3757
Re: Simultaneous embedded audioclips
I found this.. If you start playing an audio clip when another one is playing, the first audio clip is stopped, and a playStopped message is sent to the current card. You cannot play two sounds at the same time, nor can you queue a sound while another sound is playing. Its Sounds to me like you can'...
- Wed Mar 25, 2009 7:13 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Stopping a return and backspace in an editable list field
- Replies: 2
- Views: 2153
Re: Stopping a return and backspace in an editable list fiel
I'm still pretty new to this stuff, but I think you'll want to look at a few things in the dictionary. enterInField returnInField backspaceKey tabKey Somewhere here I have some code written that handles how fields are moved through with tab/enter/return so am pretty sure this will point you in the r...
- Wed Mar 25, 2009 7:03 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Replace Command
- Replies: 2
- Views: 2140
edit: Knew i'd seen this in another post: http://forums.runrev.com/phpBB2/viewtopic.php?t=2781 you can just use the quote keyword, what you want to replace it with, and where the string is that you're modifying. so if a var theVar has the string "This is a "test" string" in it replace quote with "q"...
- Wed Mar 25, 2009 6:52 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: switch vs .. not sure what to call it.
- Replies: 11
- Views: 5406
I've managed to shrink my replace down to 1 line and still do what I want with one exception. Follows is the code i'm using on a test stack. on mouseUp put "field1 + field3 + field3 + field3" into formula replace "field" with "field" && "fld" in formula put the value of formula into field "outFld" e...
- Wed Mar 25, 2009 5:59 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: switch vs .. not sure what to call it.
- Replies: 11
- Views: 5406
Thanks so much for all your help. I have 1 or 2 more things to clear up, but have a test stack working and much simpler than before. I have 2 more questions if you don't mind. If I set things up so I can build a formula up using placeholders for where user supplied data will be placed, is there a wa...
- Wed Mar 25, 2009 3:31 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: switch vs .. not sure what to call it.
- Replies: 11
- Views: 5406
Currently I have this to determine which handler to run. on mouseUp put the value of the selectedChunk into funcName -- loads selected text for later use --execute a function based on selected list box line text switch the value of the selectedChunk case "Find Payment" do fPaymentScreen exit switch ...
- Wed Mar 25, 2009 4:21 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: How to enable/disable cell editing
- Replies: 2
- Views: 2068
Found this thread for part of your question, hopefully Marks code example is what you're looking for.
http://forums.runrev.com/phpBB2/viewtop ... able+field
http://forums.runrev.com/phpBB2/viewtop ... able+field
- Wed Mar 25, 2009 3:58 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: switch vs .. not sure what to call it.
- Replies: 11
- Views: 5406
switch vs .. not sure what to call it.
I've been working on an app lately that runs a handler after clicking in a list, based on the text in the list. Its setup using switch and case. Would it make sense/be more efficent to drop the text in question into a variable sans spaces, and have all my handlers/functions named that way? What I me...
- Mon Mar 23, 2009 5:45 pm
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Tooltips in a drawer
- Replies: 1
- Views: 1693
Figured it out sorta
Ah k, just realized that I have to click on the dawer itself somewhere or force a focus change before the tooltip will work.
DOH!
So my modified question is, is there a simple way to make all tooltips show, no matter which stack/card etc is active at the time?
DOH!
So my modified question is, is there a simple way to make all tooltips show, no matter which stack/card etc is active at the time?
- Mon Mar 23, 2009 5:59 am
- Forum: Getting Started with LiveCode - Experienced Developers
- Topic: Tooltips in a drawer
- Replies: 1
- Views: 1693
Tooltips in a drawer
Hey, got a quick question about a stack that I want to drawer. When I set a button tooltip for a button on the stack, the tooltip works fine till I pop it out as a drawer, then the tooltip no longer works. I assume this has something to do with it being treated as a pallet? How do I restore the tool...
- Mon Mar 02, 2009 6:21 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Status of Checkbox Button for if... then...
- Replies: 11
- Views: 11842
- Mon Mar 02, 2009 5:05 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Status of Checkbox Button for if... then...
- Replies: 11
- Views: 11842
Can't get this to work? Is it supposed to?
BvG wrote:how about:
Code: Select all
put theVar + 10 into theVar
- Sat Feb 28, 2009 11:59 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Status of Checkbox Button for if... then...
- Replies: 11
- Views: 11842
Re: Is there an equivalent in Revolution to "c = c +1&q
I'm very very new at this (started yesterday pretty much) but heres a couple examples that are close to what you want. put 10 in temp add 10 to temp temp has 20 now. Not quite as shorthand as the other method, but pretty short. I didn't try it, but suspect if you didn't initialize a value for temp t...