Re: Putting two groups onto the clipboard
Thanks Mike and Mark for your suggestions! Sent from my iPad On Jun 11, 2013, at 8:18 PM, Mike Bonner [via Runtime Revolution] ml-node+s278305n4666342...@n4.nabble.com wrote: Yeah, as mark said, you can do the snapshot thing. If you want to just get the text you'd have to loop through the fields in each group, grab the text and assemble it however you need it in a variable, then put it into the clipboarddata[text] or .. well something like that. On Tue, Jun 11, 2013 at 6:12 PM, Mark Schonewille [hidden email] wrote: Hi Charles, I wonder what you have tried to far and why it didn't work? One solution is on mouseUp export snapshot from grp 1 to myPict as PNG set the clipboarddata[image] to myPict end mouseUp but because this doesn't always give nice results, you might try on mouseUp export snapshot from rect (the rect of grp 1) of this cd \ to myPict as PNG set the clipboarddata[image] to myPict end mouseUp -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/**xtalkprogrammerhttp://twitter.com/xtalkprogrammer KvK: 50277553 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour spaces. http://www.color-converter.com Buy my new book Programming LiveCode for the Real Beginner http://qery.us/3fi Fill out this survey please http://livecodebeginner.**economy-x-talk.com/survey/http://livecodebeginner.economy-x-talk.com/survey/ On 6/11/2013 21:57, charles61 wrote: I have some edit fields that have been grouped into two separate groups. How can I placed the two groups onto the clipboard in an app that so that they can be pasted (from the app) to a word processing document? __**_ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode If you reply to this email, your message will be added to the discussion below: http://runtime-revolution.278305.n4.nabble.com/Putting-two-groups-onto-the-clipboard-tp4666332p4666342.html To unsubscribe from Putting two groups onto the clipboard, click here. NAML -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Putting-two-groups-onto-the-clipboard-tp4666332p4666363.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Putting two groups onto the clipboard
I have some edit fields that have been grouped into two separate groups. How can I placed the two groups onto the clipboard in an app that so that they can be pasted (from the app) to a word processing document? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Putting-two-groups-onto-the-clipboard-tp4666332.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Problem with an Edit Field in a group
I have grouped eight fields together. One of the fields is an edit field that is set to allow users to change its content. The problem is that when the user tabs into this field, the whole content is highlighted and selectable. But the user cannot click at the end of the content in the field to add content. The only thing the user can do is to click in the field which causes all of it to be removed. How can I script that would allow the user to be able to add content at the end of the content? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problem-with-an-Edit-Field-in-a-group-tp4663802.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Problem with an Edit Field in a group
Pete, Yes I don't understand this behavior either. There are no custom properties or script for the field. The TraversalOn is checked along with showFocusBorder and autoTab checked. I am using LC 5.5.4. Any suggestions? Charles Szasz csz...@mac.com On Apr 22, 2013, at 8:23 PM, Peter Haworth [via Runtime Revolution] ml-node+s278305n4663803...@n4.nabble.com wrote: You could have an openField handler with select after me. But something doesn't seem right about what's happening - selecting all the text in a field isn't the normal behavior. Pete lcSQL Software http://www.lcsql.com On Mon, Apr 22, 2013 at 4:08 PM, charles61 [hidden email] wrote: I have grouped eight fields together. One of the fields is an edit field that is set to allow users to change its content. The problem is that when the user tabs into this field, the whole content is highlighted and selectable. But the user cannot click at the end of the content in the field to add content. The only thing the user can do is to click in the field which causes all of it to be removed. How can I script that would allow the user to be able to add content at the end of the content? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problem-with-an-Edit-Field-in-a-group-tp4663802.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode If you reply to this email, your message will be added to the discussion below: http://runtime-revolution.278305.n4.nabble.com/Problem-with-an-Edit-Field-in-a-group-tp4663802p4663803.html To unsubscribe from Problem with an Edit Field in a group, click here. NAML -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problem-with-an-Edit-Field-in-a-group-tp4663802p4663806.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Problem with an Edit Field in a group
Pete, You were right! The autoTab was the problem. I have not run into this before but I sure will remember not to check autoTab for a field when it is grouped with other fields that are not edit fields. Thanks! Charles Szasz csz...@mac.com On Apr 22, 2013, at 8:37 PM, Peter Haworth [via Runtime Revolution] ml-node+s278305n4663807...@n4.nabble.com wrote: Just checked this out. The problem is autotab - with that checked, all the text is selected, when not checked, the cursor is placed after the text. Don't think I've run into that before. Pete lcSQL Software http://www.lcsql.com On Mon, Apr 22, 2013 at 5:29 PM, charles61 [hidden email] wrote: Pete, Yes I don't understand this behavior either. There are no custom properties or script for the field. The TraversalOn is checked along with showFocusBorder and autoTab checked. I am using LC 5.5.4. Any suggestions? Charles Szasz [hidden email] On Apr 22, 2013, at 8:23 PM, Peter Haworth [via Runtime Revolution] [hidden email] wrote: You could have an openField handler with select after me. But something doesn't seem right about what's happening - selecting all the text in a field isn't the normal behavior. Pete lcSQL Software http://www.lcsql.com On Mon, Apr 22, 2013 at 4:08 PM, charles61 [hidden email] wrote: I have grouped eight fields together. One of the fields is an edit field that is set to allow users to change its content. The problem is that when the user tabs into this field, the whole content is highlighted and selectable. But the user cannot click at the end of the content in the field to add content. The only thing the user can do is to click in the field which causes all of it to be removed. How can I script that would allow the user to be able to add content at the end of the content? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problem-with-an-Edit-Field-in-a-group-tp4663802.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode If you reply to this email, your message will be added to the discussion below: http://runtime-revolution.278305.n4.nabble.com/Problem-with-an-Edit-Field-in-a-group-tp4663802p4663803.html To unsubscribe from Problem with an Edit Field in a group, click here. NAML -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problem-with-an-Edit-Field-in-a-group-tp4663802p4663806.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode If you reply to this email, your message will be added to the discussion below: http://runtime-revolution.278305.n4.nabble.com/Problem-with-an-Edit-Field-in-a-group-tp4663802p4663807.html To unsubscribe from Problem with an Edit Field in a group, click here. NAML -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Problem-with-an-Edit-Field-in-a-group-tp4663802p4663808.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Paste Code to Match Existing Formatting
I have been working on a project that allows the user to select text in various fields in my project and then place the selected text onto the clipboard to be pasted into a word processing document. How do you script to allow the user to paste the selected text into a document so that it matches the type of font and size of font used in the word processing document? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Paste-Code-to-Match-Existing-Formatting-tp4663668.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Paste Code to Match Existing Formatting
Igor, Thanks. I am aware of but was wondering how to script this in LiveCode to do this automatically. In the past, I have an option menu where the use could select font and font size for pasting from an app to a word processing document. Sent from my iPad On Apr 19, 2013, at 9:15 PM, Igor de Oliveira Couto-3 [via Runtime Revolution] ml-node+s278305n4663669...@n4.nabble.com wrote: On 20/04/2013, at 11:04 AM, charles61 [hidden email] wrote: How do you script to allow the user to paste the selected text into a document so that it matches the type of font and size of font used in the word processing document? Whether the user can match the format of the text in the document will depend on which program they are using, not on the way you copy the text. On the Mac, for instance, some programs have a Paste and Match Style command, in the Edit menu, as well as the normal Paste. The difference being, that if you select the normal Paste, it will paste your text *exactly* as it was copied - ie., with the format (font, size, etc.) the way it was copied originally. If you select Paste and Match Style, then it will ignore the formatting of the text on the clipboard, and will force it to follow the formatting of the document where you're pasting it. I hope this helps. -- Igor Couto Sydney, Australia ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode If you reply to this email, your message will be added to the discussion below: http://runtime-revolution.278305.n4.nabble.com/Paste-Code-to-Match-Existing-Formatting-tp4663668p4663669.html To unsubscribe from Paste Code to Match Existing Formatting, click here. NAML -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Paste-Code-to-Match-Existing-Formatting-tp4663668p4663673.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Paste Code to Match Existing Formatting
Ignor, I will try the clipboardData property. Thanks! Sent from my iPad On Apr 19, 2013, at 10:58 PM, Igor de Oliveira Couto-3 [via Runtime Revolution] ml-node+s278305n4663674...@n4.nabble.com wrote: On 20/04/2013, at 12:34 PM, charles61 [hidden email] wrote: Thanks. I am aware of but was wondering how to script this in LiveCode to do this automatically. In the past, I have an option menu where the use could select font and font size for pasting from an app to a word processing document. I believe that if you simply use the 'copy' command, it will automatically copy all of the information - including all of the formatting - into the clipboard, including font and fontsize (and style, and colour, etc.). The user then, in their word processing program, can choose whether to Paste the copied text (which will also paste all of the copied formatting), or to Paste and Match Style (which will paste just the raw text info - no formatting - and then adjust the formatting to match the style in the user's document). I believe that if you want to make sure that the user will only copy *raw text* info - without copying any of the formatting - you can use the clipboardData property. If you want the user to be able to copy some formatting, but not others - ie., you want them to be able to copy the font and the size, but not the style or the colour of the text - then you will have to roll out your own special Copy commands. These commands will likely put the selected text into a variable, 'erase' the unwanted formatting, and then set the clipboardData with the re-formatted text from the variable. I hope these help. Kind regards, -- Igor Couto Sydney, Australia ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode If you reply to this email, your message will be added to the discussion below: http://runtime-revolution.278305.n4.nabble.com/Paste-Code-to-Match-Existing-Formatting-tp4663668p4663674.html To unsubscribe from Paste Code to Match Existing Formatting, click here. NAML -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Paste-Code-to-Match-Existing-Formatting-tp4663668p4663675.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Script problem
Dick, As far as I can tell, the problem had to do with other marked cards that had checkboxes despite not having a custom property. When I initially tested my code with a sample stack, all of the cards were marked and had checkboxes with custom properties. In my actual project, there were marked cards but some of the cards did not have checkboxes with custom properties. When I added a little bit more code to catch my empty custom properties, my code was working again without the insertion of five blank lines. Despite Therry's code to identify checkboxes that had my custom property, I had cards identified as having checkboxes with custom properties when there were none on the cards. Again, I checked all of my checkboxes several times and could not find any with blank strings for custom properties. Charles Szasz csz...@mac.com On Oct 26, 2012, at 6:10 PM, Dick Kriesel [via Runtime Revolution] ml-node+s278305n4656682...@n4.nabble.com wrote: Charles, please let us know what the problem was. If the problem persists, I suggest you check the whether the suspect checkboxes may be affected by a getProp for uMyLabel, or by a custom property set. -- Dick ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode If you reply to this email, your message will be added to the discussion below: http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616p4656682.html To unsubscribe from Script problem, click here. NAML -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616p4656683.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Script problem
Thierry, Thanks for your suggestion! I do have a cr after each string for each uMyLabel so when it is inserted into my scrolling field the checkbox labels are separated by a cr. I would expect this only to affect the subsequent checked checkbox after the initial checked checkbox. This was not a problem in my sample test stack which had about 40-50 checkboxes. I did not encounter any blank lines before any checkbox uMyLabels were inserted in my field, which is intended for printing. As you can see from my script, only checked checkboxes on marked cards are inserted in the scrolling field. If only one checkbox is checked, there are five blank lines before the checkbox label in my actual project. So I am still at a loss on what is going on. I have checked my settings for scrolling field for simple answer but found nothing. You might be wondering why I am using this code. I am trying to set up so that only checked checkboxes are printed in a print out of recommendations list selected by the user. My original version of my project printed all of the checkboxes regardless of whether they were selected by the user. Again, thanks for your ideas and suggestions! Sent from my iPad On Oct 25, 2012, at 5:56 AM, Thierry Douez [via Runtime Revolution] ml-node+s278305n4656635...@n4.nabble.com wrote: 2012/10/25 Ben Rubinstein [hidden email]: On 25/10/2012 04:08, Charles Szasz wrote: I also again went through each of the more than 800 checkboxes in my project and did not find any missing strings. So, I don't know what is accounting for the five blank lines in my field recommendations. ... If you have more ideas or suggestions, please share them with me. Hi, my script was a start to search the culprits... What could happen is to have invisible chars, tab, cr or white spaces. So, I would check for all these chars... HTH Thierry Perhaps some of the strings contain leading or trailing returns - so you're not collecting empty values, but when you put them all in a list you end up with some blank lines. So yet another variation might collect this information repeat with y = 1 to the number of cards of stack MyStack if the mark of card y of stack MyStack= true then put the number of buttons of card y of stack MyStackinto nbr repeat with n = 1 to nbr if the style of button n of card y of stack MyStack is checkbox\ and the hilite of button n of card y of stack MyStack then put the uMyLabel of button n of card y of stack MyStack into tName if tName contains cr then put y n cr after theList end if -- temporarily suppress normal data collection -- put the uMyLabel of button n of card y of stack MyStack iinto tName -- put tName cr after theList end if end repeat end if end repeat ... or if you just want to suppress it from your output, and don't care where it is, replace put tName cr after theList with put line 1 of tName cr after theList HTH Ben ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode If you reply to this email, your message will be added to the discussion below: http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616p4656635.html To unsubscribe from Script problem, click here. NAML -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616p4656636.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Script problem
I am using the following script to retrieve the labels of checked checkboxes on marked cards and put them in the field recommendations. The labels are custom properties (uMyLabel). The script works fine but I am getting five blank lines in recommendations field before the first checkbox label is inserted in the field. Any suggestions? on mouseUp repeat with y = 1 to the number of cards of stack MyStack if the mark of card y of stack MyStack= true then put the number of buttons of card y of stack MyStackinto nbr repeat with n = 1 to nbr if the style of button n of card y of stack MyStack is checkbox\ and the hilite of button n of card y of stack MyStack is true then put the uMyLabel of button n of card y of stack MyStack into tName put tName cr after theList end if end repeat end if end repeat delete char -1 of theList put theList into field recommendations -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Script problem
Hi Therry! I tried your script suggestion. It reported card 32 and button 38. When I checked this information, there were no checkbox buttons that have custom properties on this card. I went through my project and checked all of the some 700+ checkboxes and did not find any checkboxes that had the uMyLabel custom property and no custom property label. I did find two fields that have an uMyLabel, which they shouldn't have and removed the custom properties for them. But I am still getting the five blank lines in my recommendation field. I should have mentioned that the recommendation field is a scrolling field. I have tried my code in a smaller sample stack with a scrolling field but did not have the 5 blank fields. I checked and found both scrolling fields have the same settings. Nevertheless, I tried various combinations of property settings, including the new Layer Mode with no success. I also found an old group script on one of my cards and removed it but still no success. I am use the find function in LC but still have not found the problem. Any other suggestions? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Script-problem-tp4656616p4656625.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Has anybody run into this problem?
Dean, I tried the traveralOn for the button but it did not work. I then substituted the new textChanged for a closeField handler and it worked! I am using LC 5.5.2 for the first time. Do you think it is wise to only use the textChanged handler and delete the closeField and exitField handlers for each of my data fields? -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Has-anybody-run-into-this-problem-tp4655392p4655394.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Limiting data entry in fields
Devin, Thanks! I found it but I had to limit numbers with decimals. The numbers only script does not do that. Charles Szasz csz...@mac.com On Nov 29, 2010, at 5:39 PM, Devin Asay [via Runtime Revolution] wrote: Charles, Did you see my earlier post? There are two examples in the LiveCode Resource Center that describe exactly how to do this. See the LiveCode Resource Center (Help menu Resource Center). Then look under Sample Scripts Text. There are two sections there that will help you, one on limiting the number of characters and one on limiting input to only numbers. Regards, Devin On Nov 29, 2010, at 3:27 PM, charles61 wrote: Mike, I have not thought of using not in. I did not use 1234567890 because it does not limit decimals. Charles Szasz [hidden email] On Nov 29, 2010, at 5:22 PM, Mike Bonner [via Runtime Revolution] wrote: Is there a reason to use 'not in 1234567890' rather than 'is a number' just curious to know. On Mon, Nov 29, 2010 at 3:13 PM, Andrew Kluthe [hidden email] wrote: Inside of the field script put something like this: on keyDown pKey put the number of chars of me into sCount if sCount 3 then if pKey is not in 1234567890 then pass keyDown end if end if end keyDown This should make it so that everytime a key is pressed in that field it counts how many characters it has, if it is less than 3 it checks to see if it is a number or in the allowed list, if so it passes that key. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Limiting-data-entry-in-fields-tp3064388p3064535.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode View message @ http://runtime-revolution.278305.n4.nabble.com/Limiting-data-entry-in-fields-tp3064388p3064541.html To unsubscribe from Limiting data entry in fields, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Limiting-data-entry-in-fields-tp3064388p3064557.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode View message @ http://runtime-revolution.278305.n4.nabble.com/Limiting-data-entry-in-fields-tp3064388p3064579.html To unsubscribe from Limiting data entry in fields, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Limiting-data-entry-in-fields-tp3064388p3064589.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Limiting data entry in fields
Devin, Just numbers - no decimal points. Charles Szasz csz...@mac.com On Nov 29, 2010, at 6:09 PM, Devin Asay [via Runtime Revolution] wrote: On Nov 29, 2010, at 3:46 PM, charles61 wrote: Devin, Thanks! I found it but I had to limit numbers with decimals. The numbers only script does not do that. Charles Szasz [hidden email] Ah, I misunderstood. I thought you meant that you wanted to disallow typing in decimal points. Do you mean that you want to limit the length of numbers including the dot? Or limit the number of places after the decimal point? Devin Devin Asay Humanities Technology and Research Support Center Brigham Young University ___ use-livecode mailing list [hidden email] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode View message @ http://runtime-revolution.278305.n4.nabble.com/Limiting-data-entry-in-fields-tp3064388p3064618.html To unsubscribe from Limiting data entry in fields, click here. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Limiting-data-entry-in-fields-tp3064388p3064666.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
Re: Limiting data entry in fields
Jacqueline, Thanks very much! Your script worked! Charles Szasz csz...@mac.com On Nov 29, 2010, at 5:45 PM, J. Landman Gay [via Runtime Revolution] wrote: on keydown pKey if (pKey is a number or pKey = .) and len(me) 3 then pass keydown end keydown -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/Limiting-data-entry-in-fields-tp3064388p3064670.html Sent from the Revolution - User mailing list archive at Nabble.com. ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode