Search found 16 matches

by davidmills
Fri Apr 03, 2015 8:34 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Restrict certain keyboard keys
Replies: 8
Views: 4992

Re: Restrict certain keyboard keys

Thank you Thierry. It's the comma and space I don't want, but where do I add your script line as I tried line 13 after beep? Dave on openField mobileSetKeyboardType "numeric" end openField on returnInField beep exit to top end returnInField on keyup pKey if pKey is in ", " then beep else put pKey en...
by davidmills
Fri Apr 03, 2015 4:22 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Restrict certain keyboard keys
Replies: 8
Views: 4992

Re: Restrict certain keyboard keys

Thanks and whilst is now working OK. Is there a way to remove the incorrect characters whilst still in the field other than doing a manual delete?
Dave
by davidmills
Fri Apr 03, 2015 1:25 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Restrict certain keyboard keys
Replies: 8
Views: 4992

Re: Restrict certain keyboard keys

Thanks for all your replies. But I don't understand from the example what I'm supposed to replace my present script with, other than I presume the "abc" is the field name.
Thanks
Dave
by davidmills
Fri Apr 03, 2015 9:21 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Restrict certain keyboard keys
Replies: 8
Views: 4992

Restrict certain keyboard keys

On my Android why does only the on returnInField work and yet none of the others do? Thanks Dave on openField mobileSetKeyboardType "numeric" end openField on returnInField beep exit to top end returnInField on commaInField beep exit to top end commaInField on spaceInField beep exit to top end space...
by davidmills
Thu Mar 26, 2015 5:42 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Clear numeric keypad
Replies: 3
Views: 2683

Re: Clear numeric keypad

Thank you Klaus, just the job.
Dave
by davidmills
Thu Mar 26, 2015 10:29 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Clear numeric keypad
Replies: 3
Views: 2683

Clear numeric keypad

I have called the numeric keypad on my card with mobileSetKeyboardType "numeric" to use on four fields and all works fine. Then when I tap the GO button on the same card which gives me the calculated results of the four fields, this numeric keypad is hiding most of my results until I tap an area of ...
by davidmills
Thu Mar 12, 2015 11:26 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Extract numbers before and after decimal separator
Replies: 3
Views: 3215

Extract numbers before and after decimal separator

on mouseDown If field 1 as an example contains 197.256221 How do I extract all the numbers before a decimal point and place those into field 2 (in the example would be 197) and then also extract all the numbers after a decimal point and place those into field 3 (in the example would be 256221) Thank...
by davidmills
Sat Jan 17, 2015 2:11 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Copy card from one file to another
Replies: 6
Views: 4191

Re: Copy card from one file to another

Thanks Klaus and also for the clone tip.
Why is it - copy cd "name of cd 2 copy" of stack "file2" to stack "file1" and to use 'cd' and not use 'card''?
Dave
by davidmills
Sat Jan 17, 2015 1:56 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Copy card from one file to another
Replies: 6
Views: 4191

Re: Copy card from one file to another

Wow Klaus. There was me thinking it should be easy to do a card copy and I'm incapable of explaining my requirement to the members here and so guess I'm doomed with LC. I have two LC Applications ( should not have called them files ) for use on an Android and I'm using a Windows 7 PC running LC Comm...
by davidmills
Sat Jan 17, 2015 10:20 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Copy card from one file to another
Replies: 6
Views: 4191

Copy card from one file to another

Try as I may to find what appears to be a simple task, I'm just not finding the answer on my search on Google and here.
I now realise I probably should have created two stacks in one file for testing two related projects and not one stack in two files.
Dave
by davidmills
Thu Jan 15, 2015 9:06 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android mobile snapshot help
Replies: 9
Views: 8042

Re: Android mobile snapshot help

Really grateful SparkOut.
Dave
by davidmills
Wed Jan 14, 2015 11:18 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android mobile snapshot help
Replies: 9
Views: 8042

Re: Android mobile snapshot help

Thank you Simon. But I have spent a great deal of time looking for examples on import/export snapshot just as I did to get this far starting from scratch as a raw beginner. It could be I'm thick or particularly slow on the learning curve and what I'm really looking for is an answer example to carry ...
by davidmills
Tue Jan 13, 2015 10:39 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Android mobile snapshot help
Replies: 9
Views: 8042

Re: Android mobile snapshot help

Thanks. With this I get an error on line 11 and so not correct. What should it be, or perhaps it's not a put? Dave on mouseUp import snapshot from rectangle "1,290,314,360" of this cd end mouseUp on mouseUp set the defaultFolder to specialFolderPath("documents") export snapshot from rectangle "1,290...