Search found 21 matches
- Sun Feb 14, 2021 6:06 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: what is the difference between command and own on ...
- Replies: 10
- Views: 6083
- Sun Feb 14, 2021 9:54 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: what is the difference between command and own on ...
- Replies: 10
- Views: 6083
Re: what is the difference between command and own on ...
OK, thanks for your answer!
- Sun Feb 14, 2021 12:05 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: what is the difference between command and own on ...
- Replies: 10
- Views: 6083
- Sat Feb 13, 2021 11:22 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: what is the difference between command and own on ...
- Replies: 10
- Views: 6083
what is the difference between command and own on ...
Dear Experts What is the difference/benefit between an own message handler or a command for using them. I made this coding just for demonstrating my question. on mouseUp ## own message with same output informing ## command with same output inform end mouseUp on informing answer "This is an informati...
- Fri Feb 12, 2021 3:06 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Transparency to a button icon background
- Replies: 47
- Views: 27952
Re: Transparency to a button icon background
Hi It looks like the Opaque property of your button might be set to true, try setting it to false. You might also need to set 3-D and Show border to false. It looks like you have already set Show name to false. Kind regards Elanor Thanks Elanor I found now a solution for the problem. Befor asking m...
- Fri Feb 12, 2021 3:00 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Transparency to a button icon background
- Replies: 47
- Views: 27952
Re: Transparency to a button icon background
You could try this trick I learned from Jacque... You can choose the paint bucket tool and right click on the white background. That will turn it transparent. If you accidentally miss, undo works. Thanks for your help, that works not completly for me. Just a part of the white background is deleted....
- Fri Feb 12, 2021 2:53 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Transparency to a button icon background
- Replies: 47
- Views: 27952
Re: Transparency to a button icon background
Personally I would not use a button, I would use a graphic rectangle instead (it can still have code in it so it behaves like a button). This is in the cardScript: on openCard set the backGroundPattern of grc "FFRAME" to the ID of img "earth" end openCard https://www.dropbox.com/s/je0ladx3bjpjn8u/C...
- Fri Feb 12, 2021 10:49 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Transparency to a button icon background
- Replies: 47
- Views: 27952
Transparency to a button icon background
Dear Experts I made a little animation. The background of the card itself is outer space. The background icon of an animated button is an image icon earth. But as you can see, there is a white background which is disturbing. My question: is there a possibility to put a round image like my earth with...
- Tue Feb 09, 2021 12:54 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Play wav files via selection
- Replies: 5
- Views: 3847
Re: Play wav files via selection
your solution works perfect Klaus! Thanks a lot, it is so a great help!!
Mike

Mike
- Tue Feb 09, 2021 9:17 am
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Play wav files via selection
- Replies: 5
- Views: 3847
Re: Play wav files via selection
I am using LC indy 9.6.2, os Windows 10 and my solution works fine. But it plays only one certain song ('sheeran.wav'). I want to select the wav file from a textfield, option field or preferably with an os 'open file' dialog.
Thanks a lot
Mike
Thanks a lot
Mike
- Mon Feb 08, 2021 11:12 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Play wav files via selection
- Replies: 5
- Views: 3847
Play wav files via selection
Dear experts Is it possible to load all songs in a music folder into a field with name. Then an entry is selected and this song is played in liveCode. That is what I made up to now for only one song: on mouseUp put specialFolderPath("desktop") into myPath ## all songs are in the folder desktop\sound...
- Mon Feb 08, 2021 11:04 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Random numbers with no duplicates
- Replies: 7
- Views: 5735
Re: Random numbers with no duplicates
Hi Mike, yep, don't think too complicated and let LC do the tedious stuff! :-) Here another solution without the need to check for doublettes: on mouseUp ## Create a list with 10 numbers repeat with i = 1 to 10 put i into item i of tList end repeat ## Let LC mix the items in the list sort items of ...
- Mon Feb 08, 2021 11:02 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Random numbers with no duplicates
- Replies: 7
- Views: 5735
Re: Random numbers with no duplicates
Thanks for your help!! Hi Mike, another one.... function get6RandomNumbersFrom aList repeat 4 delete any item of aList end repeat return aList end get6RandomNumbersFrom on mouseUp put get6RandomNumbersFrom("1,2,3,4,5,6,7,8,9,10") into fld 1 end mouseUp Thierry Incredible solution, thanks a lot!!
- Mon Feb 08, 2021 10:56 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Random numbers with no duplicates
- Replies: 7
- Views: 5735
Re: Random numbers with no duplicates
Hi Mike, something like this... on mouseUp repeat until the number of lines in tData is 6 put random(10) into tTest if tTest is not among the lines of tData then put tTest & cr after tData end if end repeat delete char -1 of tData -- a return -- the list is not orderd -- order list -- sort tData as...
- Mon Feb 08, 2021 6:27 pm
- Forum: Getting Started with LiveCode - Complete Beginners
- Topic: Random numbers with no duplicates
- Replies: 7
- Views: 5735
Random numbers with no duplicates
Dear experts I know that there are better ways to solve this problem, but I want to try it in a certain way to solve my problem I want to a.) create a list of 6 random numbers between 1 and 10 b.) these numbers should also be written in a list c.) for every new random numbers one should look in the ...