Re: LC in Education
Hi Judy - the good thing about Blackboard occasionally being unreliable is that people are more likely to be somewhat forgiving when (inevitably) one of the new systems we are developing springs a problem. We can usually put things right pretty quickly and only a few hundred users at most will experience any problems. When Blackboard goes AWOL everybody suffers. OK, enough Blackboard bagging for now. Really, it's pretty good at doing what it does. Terry... On 04/05/2011 02:58 PM, Judy Perry jper...@ecs.fullerton.edu wrote: Terry, It's funny that you should mention Blackboard being awful. It really IS gawdawful! I happened to be in my class early one day and several students were trying to access my Moodle setup (on server space I rent from Mark and paid him to install while I maintain) and they reported it was down. I messaged Mark, he checked it and said it came up fine for him, then my students all reported it worked for them as well (signalling a network error on our end), and then one of them remarked that my Moodle site was far more reliable than the campus' Blackboard server that their other instructors used and for which we pay a bazillion dollars to license and another bazillion in IT costs to maintain. Judy On Wed, 4 May 2011, Terry Judd wrote: It's big because the main alternatives (notably BlackBoard) are so awful (and awfully expensive). I'm no big fan of Learning Management Systems but they're here to stay (at least in tertiary educational environments) - administrators love them, educators not so much. We're currently building a bespoke learning environment (emphasis on learning) for medical students (LiveCode clients, mysql/php backend) and plan to phase out the use Blackboard during 2012. I'm expecting a 'please explain' call from the university's IT decision makers before too long. ___ 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 -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne ___ 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: Staying on a field
Pete, It is in the dictionary under is a and is not a. Date is one of the many options. * date if it is in one of the formats produced by the date or time functions Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 3, 2011, at 11:26 PM, Pete wrote: Folks, Not strictly related to this but what date format does the syntax if this is not a date use? And where is it documented that a date is a valid expression? Just curious since I've spent several hours writing code to try to validate a date based on the user's system settings and I've never seen mention of this anywhere Thanks, . Pete Molly's Revenge http://www.mollysrevenge.com On Tue, May 3, 2011 at 9:44 PM, Joe Lewis Wilkins pepe...@cox.net wrote: Bill, I'd try eliminating the exit closeField and the pass closeField from your handler as a first effort. I don't think either are needed in this case and may confuse the focus issue. HTH, Joe Lewis Wilkins Architect Director of Product Development for GSI www.glsysinc.com On May 3, 2011, at 9:14 PM, Bill Vlahos wrote: I do a validity check on a field to see if the user entered a valid date. If the user entered a valid date and presses TAB or RETURN the focus moves on to the next field. However, if the user enters an invalid date I want to keep the focus on the field to try again. This field script does everything correctly except that it doesn't set the focus back on the field. What am I doing wrong? on closeField if me is not a date then answer error Not a valid date. Retry? with No or Yes if it is Yes then focus on me exit closeField end if end if pass closeField end closeField ___ 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 ___ 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 ___ 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: Staying on a field
Terry, Thanks this works. I also discovered that I can replace focus on me with select the text of me in my script and that works too. If the closeField message comes as a result of going to another card then I get the dialog but it still goes to the new card anyway so the dialog doesn't really work if the user wants to try it again. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 3, 2011, at 9:40 PM, Terry Judd wrote: On 04/05/2011 02:14 PM, Bill Vlahos bvla...@mac.com wrote: on closeField if me is not a date then answer error Not a valid date. Retry? with No or Yes if it is Yes then focus on me exit closeField end if end if pass closeField end closeField Bill - how about this? on closeField send checkMe to me in 0 millisecs end closeField on checkMe if me is not a date then answer error Not a valid date. Retry? with No or Yes if it is Yes then focus on me end if end if end checkMe Works fine if you're tabbing between fields but if you click on the card then the focus will stay with the field no matter what, whereas what you probably want to do (if you choose 'no') is to focus on nothing. Something like this maybe... on checkMe put the selectedChunk into tSelection if me is not a date then answer error Not a valid date. Retry? with No or Yes if it is Yes then focus on me else if tSelection is not empty then select tSelection else focus on nothing end if end if end if end checkMe HTH, Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne ___ 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 ___ 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: [revServer] should revdelete work
Pierre, thanks for your answer. delete folder... unfortunately only deletes empty folders. If a folder contains files or other folders one has to use revdeletefolder. At least that´s what the dictionary says. Regards, Matthias Am 04.05.2011 um 00:05 schrieb Pierre Sahores: Matthias, I don't use the revdeletefolder command and can't comment on it but : delete file (thepath) delete folder (thepath) instead, from within my irev libs and it works fine (as long as, in case of file, the file to delete is not the running irev script it self !). HTH, Pierre Le 3 mai 2011 à 23:20, Matthias Rebbe a écrit : Sorry, of course i meant revdeletefolder. Regards, Matthias Am 03.05.2011 um 23:18 schrieb Matthias Rebbe: Hi, i am trying to delete an non empty folder with an .irev script on on-rev. The dictionary says that revdelete is supported under Desktop. Web (Revlet) and Server. But i get an Can´t find Handler error. Could someone confirm that revdelete does or does not work for her/him under revServer? Regards, Matthias ___ 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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.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 ___ 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
Trouble-shooting non-resizable stack/card size creep?
Hi folks, I have a non-resizable stack (1024 x 768) with a common background group for all cards, including a 1024 x 768 background image. Suddenly, whilst adjusting control positions on one card, I noticed that aligning its loc to 512, 384 no longer centralised the control - and a border of 4 or 5 pixels had appeared at the side and bottom of the background image. However, all cards and the stack (and background image itself) all seem to be sized at 1024 x 768. Any ideas where I should look for the anomaly? Best, Keith.. ___ 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
LiveCode tutorials or guides in french?
Hi, I would like to know if exist some information about how to begin to program with LiveCode but in french. Any idea? Salut, Josep M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-tutorials-or-guides-in-french-tp3495077p3495077.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: Staying on a field
Try using closecard or preopencard to test for the 'dialog' condition and if true, remain on the same card On May 4, 2011, at 12:17 AM, Bill Vlahos wrote: Terry, Thanks this works. I also discovered that I can replace focus on me with select the text of me in my script and that works too. If the closeField message comes as a result of going to another card then I get the dialog but it still goes to the new card anyway so the dialog doesn't really work if the user wants to try it again. Jim Ault Las Vegas ___ 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: Staying on a field
There have been several threads on the list over the last few years about the inaccuracy of 'is a date' to truly trap errors. The best source I know is the free stack done by Sarah Riechelt at http://www.troz.net/rev/index.irev?category=Library#stacks Also try clicking on the 'ALL' selection under Sample Stacks on the same page to see more stacks. On May 3, 2011, at 11:26 PM, Pete wrote: Folks, Not strictly related to this but what date format does the syntax if this is not a date use? And where is it documented that a date is a valid expression? Just curious since I've spent several hours writing code to try to validate a date based on the user's system settings and I've never seen mention of this anywhere Jim Ault Las Vegas ___ 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: LiveCode tutorials or guides in french?
Hi Josep, Frederic Rinaldi use to translate the Rev 1.1 or 2.0 version of the Runrev official documentation. Should be still available somewhere. About the concepts : ISBN 2-10-000199-X HyperCard 2 - Jean jacques GREIF Edition P.S.I / DUNOD dans la collection MémoMac. Dunod/PSI HyperTalk by Jean-Jacques GREIF (1992) HTH, Le 4 mai 2011 à 12:29, JosepM a écrit : Hi, I would like to know if exist some information about how to begin to program with LiveCode but in french. Any idea? Salut, Josep M -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-tutorials-or-guides-in-french-tp3495077p3495077.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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.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: Trouble-shooting non-resizable stack/card size creep?
Keith, Try setting the margins of the group to 0. You might want to turn off the lockLoc of the group and set the lockLoc of the image to true. Set the loc of the image, not the group. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 4 mei 2011, at 11:36, Keith Clarke wrote: Hi folks, I have a non-resizable stack (1024 x 768) with a common background group for all cards, including a 1024 x 768 background image. Suddenly, whilst adjusting control positions on one card, I noticed that aligning its loc to 512, 384 no longer centralised the control - and a border of 4 or 5 pixels had appeared at the side and bottom of the background image. However, all cards and the stack (and background image itself) all seem to be sized at 1024 x 768. Any ideas where I should look for the anomaly? Best, Keith.. ___ 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 ___ 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: [revServer] should revdelete work
In this case a (potentially dangerous) shell call is probably the best option. shell(rm -r directoryname) On Wed, May 4, 2011 at 1:49 AM, Matthias Rebbe runrev260...@m-r-d.dewrote: Pierre, thanks for your answer. delete folder... unfortunately only deletes empty folders. If a folder contains files or other folders one has to use revdeletefolder. At least that´s what the dictionary says. Regards, Matthias Am 04.05.2011 um 00:05 schrieb Pierre Sahores: Matthias, I don't use the revdeletefolder command and can't comment on it but : delete file (thepath) delete folder (thepath) instead, from within my irev libs and it works fine (as long as, in case of file, the file to delete is not the running irev script it self !). HTH, Pierre Le 3 mai 2011 à 23:20, Matthias Rebbe a écrit : Sorry, of course i meant revdeletefolder. Regards, Matthias Am 03.05.2011 um 23:18 schrieb Matthias Rebbe: Hi, i am trying to delete an non empty folder with an .irev script on on-rev. The dictionary says that revdelete is supported under Desktop. Web (Revlet) and Server. But i get an Can´t find Handler error. Could someone confirm that revdelete does or does not work for her/him under revServer? Regards, Matthias ___ 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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.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 ___ 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 ___ 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: Trouble-shooting non-resizable stack/card size creep?
Thanks Mark - changing the lockLoc from the group to the image did the trick. Best, Keith.. On 4 May 2011, at 15:07, Mark Schonewille wrote: Keith, Try setting the margins of the group to 0. You might want to turn off the lockLoc of the group and set the lockLoc of the image to true. Set the loc of the image, not the group. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 4 mei 2011, at 11:36, Keith Clarke wrote: Hi folks, I have a non-resizable stack (1024 x 768) with a common background group for all cards, including a 1024 x 768 background image. Suddenly, whilst adjusting control positions on one card, I noticed that aligning its loc to 512, 384 no longer centralised the control - and a border of 4 or 5 pixels had appeared at the side and bottom of the background image. However, all cards and the stack (and background image itself) all seem to be sized at 1024 x 768. Any ideas where I should look for the anomaly? Best, Keith.. ___ 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: Staying on a field
Just a comment on user interfaces, have you thought about using the common technique of coloring a field's background red if it doesn't contain a valid string? Move the test function into a handler that triggers on each key press. This way the right/wrong state of the field is visible to the user at all times. You can also disable buttons like Submit or Next Card or whatnot if the user shouldn't be able to click them with any fields still red. This interface style minimizes clicks and modal dialogs, while giving the user much more information. Just a thought. :) ~ Chris Innanen ~ Nonsanity On Wed, May 4, 2011 at 12:14 AM, Bill Vlahos bvla...@mac.com wrote: I do a validity check on a field to see if the user entered a valid date. If the user entered a valid date and presses TAB or RETURN the focus moves on to the next field. However, if the user enters an invalid date I want to keep the focus on the field to try again. This field script does everything correctly except that it doesn't set the focus back on the field. What am I doing wrong? on closeField if me is not a date then answer error Not a valid date. Retry? with No or Yes if it is Yes then focus on me exit closeField end if end if pass closeField end closeField Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. ___ 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 ___ 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: [revServer] should revdelete work
Perhaps there should be: delete folder delete empty folder ~ Chris Innanen ~ Nonsanity On Wed, May 4, 2011 at 10:57 AM, Pierre Sahores psaho...@free.fr wrote: Yes, if really needed but about the unability of delete folder and/or revdeletefolder, to work against non empty folders, does this need to be seen as a bug or as a feature ? My vote would go to the second purposal... Best, Pierre Le 4 mai 2011 à 16:13, Mike Bonner a écrit : In this case a (potentially dangerous) shell call is probably the best option. shell(rm -r directoryname) On Wed, May 4, 2011 at 1:49 AM, Matthias Rebbe runrev260...@m-r-d.de wrote: Pierre, thanks for your answer. delete folder... unfortunately only deletes empty folders. If a folder contains files or other folders one has to use revdeletefolder. At least that´s what the dictionary says. Regards, Matthias Am 04.05.2011 um 00:05 schrieb Pierre Sahores: Matthias, I don't use the revdeletefolder command and can't comment on it but : delete file (thepath) delete folder (thepath) instead, from within my irev libs and it works fine (as long as, in case of file, the file to delete is not the running irev script it self !). HTH, Pierre Le 3 mai 2011 à 23:20, Matthias Rebbe a écrit : Sorry, of course i meant revdeletefolder. Regards, Matthias Am 03.05.2011 um 23:18 schrieb Matthias Rebbe: Hi, i am trying to delete an non empty folder with an .irev script on on-rev. The dictionary says that revdelete is supported under Desktop. Web (Revlet) and Server. But i get an Can´t find Handler error. Could someone confirm that revdelete does or does not work for her/him under revServer? Regards, Matthias ___ 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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.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 ___ 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 ___ 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 -- Pierre Sahores mobile : (33) 6 03 95 77 70 www.wrds.com www.sahores-conseil.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 ___ 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: Staying on a field
Is all this because you cannot focus on something in the middle of a closeField? Bob On May 3, 2011, at 9:40 PM, Terry Judd wrote: On 04/05/2011 02:14 PM, Bill Vlahos bvla...@mac.com wrote: on closeField if me is not a date then answer error Not a valid date. Retry? with No or Yes if it is Yes then focus on me exit closeField end if end if pass closeField end closeField Bill - how about this? on closeField send checkMe to me in 0 millisecs end closeField on checkMe if me is not a date then answer error Not a valid date. Retry? with No or Yes if it is Yes then focus on me end if end if end checkMe Works fine if you're tabbing between fields but if you click on the card then the focus will stay with the field no matter what, whereas what you probably want to do (if you choose 'no') is to focus on nothing. Something like this maybe... on checkMe put the selectedChunk into tSelection if me is not a date then answer error Not a valid date. Retry? with No or Yes if it is Yes then focus on me else if tSelection is not empty then select tSelection else focus on nothing end if end if end if end checkMe HTH, Terry... -- Dr Terry Judd | Senior Lecturer in Medical Education Medical Education Unit Melbourne Medical School The University of Melbourne ___ 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 ___ 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: Staying on a field
Rather than validate on closeField, I enter an edit mode in the form where all navigation buttons or commands are disabled, and the only thing the user can do is save or cancel. The Save button calls a global validate command that cycles through all the editable fields, checks for the existence of a property to see if the field is a validating one, then calls the validation function(s) for that field. The property can actually be a list of validations you might want to perform, like not empty, is a date, is a later date, etc. I do this because I HATED WITH A PASSION the Filemaker validation which would not let you proceed to another field until you entered valid data, even if you put empty. I found that at times I wanted to go to another table and copy information from there, but couldn't because I was locked into the field and couldn't leave without putting something valid in the field even if it was wrong. I felt like Dave in 2001 A Space Odyssey. I'm sorry Bob, I'm afraid you can't do that. Bob On May 4, 2011, at 12:17 AM, Bill Vlahos wrote: Terry, Thanks this works. I also discovered that I can replace focus on me with select the text of me in my script and that works too. If the closeField message comes as a result of going to another card then I get the dialog but it still goes to the new card anyway so the dialog doesn't really work if the user wants to try it again. ___ 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: Staying on a field
Thanks Bill. I had tried searching for date before starting on my own date validation function but didn't find the is a reference - I now realise searching the dictionary only looks for things in the Keyword column. Are there any utilities out there to search the dictionary on something other than the keyword? There is so much information in there but it's hard to find it sometimes. Pete Molly's Revenge http://www.mollysrevenge.com On Wed, May 4, 2011 at 12:07 AM, Bill Vlahos bvla...@mac.com wrote: Pete, It is in the dictionary under is a and is not a. Date is one of the many options. * date if it is in one of the formats produced by the date or time functions Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 3, 2011, at 11:26 PM, Pete wrote: Folks, Not strictly related to this but what date format does the syntax if this is not a date use? And where is it documented that a date is a valid expression? Just curious since I've spent several hours writing code to try to validate a date based on the user's system settings and I've never seen mention of this anywhere Thanks, . Pete Molly's Revenge http://www.mollysrevenge.com On Tue, May 3, 2011 at 9:44 PM, Joe Lewis Wilkins pepe...@cox.net wrote: Bill, I'd try eliminating the exit closeField and the pass closeField from your handler as a first effort. I don't think either are needed in this case and may confuse the focus issue. HTH, Joe Lewis Wilkins Architect Director of Product Development for GSI www.glsysinc.com On May 3, 2011, at 9:14 PM, Bill Vlahos wrote: I do a validity check on a field to see if the user entered a valid date. If the user entered a valid date and presses TAB or RETURN the focus moves on to the next field. However, if the user enters an invalid date I want to keep the focus on the field to try again. This field script does everything correctly except that it doesn't set the focus back on the field. What am I doing wrong? on closeField if me is not a date then answer error Not a valid date. Retry? with No or Yes if it is Yes then focus on me exit closeField end if end if pass closeField end closeField ___ 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 ___ 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 ___ 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 ___ 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: LiveCode tutorials or guides in french?
Thanks Pierre. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/LiveCode-tutorials-or-guides-in-french-tp3495077p3496283.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: Staying on a field
Chris, Interesting idea. I hadn't thought of it before. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 4, 2011, at 7:52 AM, Nonsanity wrote: Just a comment on user interfaces, have you thought about using the common technique of coloring a field's background red if it doesn't contain a valid string? Move the test function into a handler that triggers on each key press. This way the right/wrong state of the field is visible to the user at all times. You can also disable buttons like Submit or Next Card or whatnot if the user shouldn't be able to click them with any fields still red. This interface style minimizes clicks and modal dialogs, while giving the user much more information. Just a thought. :) ~ Chris Innanen ~ Nonsanity On Wed, May 4, 2011 at 12:14 AM, Bill Vlahos bvla...@mac.com wrote: I do a validity check on a field to see if the user entered a valid date. If the user entered a valid date and presses TAB or RETURN the focus moves on to the next field. However, if the user enters an invalid date I want to keep the focus on the field to try again. This field script does everything correctly except that it doesn't set the focus back on the field. What am I doing wrong? on closeField if me is not a date then answer error Not a valid date. Retry? with No or Yes if it is Yes then focus on me exit closeField end if end if pass closeField end closeField Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. ___ 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 ___ 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 ___ 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: GLXFramework
Hello, I haven't needed to do updates yet. So I can't really tell you if that works yet. I have a lot of other non Framework code to write, first :) But this thread makes me thing of a related topic. Why is it so hard to build an application in Live Code? Not a stack, but an actual application. I see this as one of the biggest challenges facing Live Code. If the LiveCode platform is to grow beyond its current niche, I believe there needs to be a well supported application framework out there. Ideally one for each of the deployment options. By all accounts ruby was a cool language long before Rails. But if it hadn't been for Rails, probably no one would be using it today. Years later there are several other well supported frameworks for ruby. But it took Rails to get people to care about ruby in the first place. IMO The primary reason that Rails took off, is that you started with a complete fully functioning web application. That is and was the default out of the box experience. That is not the experience you get from Live Code. Live Code is more like Ruby, than it is like Rails. All of the old guard here has their own take on a Framework. And most of them have years of blood sweat and tears into their own libraries. And they work great for them! I can't really make an argument to them as to why they should change. But for new people to have to re-think the same problems over and over again is just plain silly. Honestly as a beginner, I don't need or want 10 ways to do something, I need 1 well supported way. I think GLX comes the closest to being a well supported framework suitable for public consumption. I am going to stick with it. Hopefully I can help it mature. Live Code certainly seems to be getting a nice bump with the ability to deploy on to mobile devices and I think that is great. I hope that some of that energy can be directed into more support for GLX or some other framework. my 2 cents Todd On Tue, May 3, 2011 at 6:27 AM, Thomas McGrath III mcgra...@mac.com wrote: Todd, Have you gotten any further with the framework? I am mostly concerned with the ability to auto check for updates. I am willing to give up on the built-in undo and even most of the externals for now. But with out the auto check for updates I can't really use this framework. Q: Do you need the custom URL Lib to be installed in order to do the auto updates? Tom On May 2, 2011, at 12:49 AM, Todd Geist wrote: I have just started working with it as well, and I spoke with Trevor about it. I think that the docs are bit out of date. So I would say yes that it is probably likely. However, I have managed to make some good progress with it and I am pretty out of shape LC wise having been gone since rev 2 something. Trevor and the google group are very helpful. And the docs do contain lots of useful stuff Todd ___ 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 Todd Geist -- geist interactive http://www.geistinteractive.com 805-419-9382 ___ 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: Staying on a field
The whole area of data validation is pretty interesting, lots of different ways to indicate errors. There seem to be at least two different types of validation: the integrity of each field and cross field relationships. You can sometimes do the former with keystroke captures (numeric only for example), sometimes I find it better to wait until the user tabs out of the field (e.g. for dates). If all the data on a form is valid under those criteria, then you have to check cross field dependencies, e.g. if you have a start date and an end date, they might both be valid dates but the end date can't be before the start date. I try to eliminate as much as possible of the field integrity checking by using dropdown/combobox menus showing only valid values, or, for a date, a calendar stack for selecting the date. For checks that are done after a field loses focus, I usually change the colour of the text of the label associated with the field. The whole thing about having a Save button is interesting too. I always use a Save button when I'm adding new data but for changing existing data, I like to just go ahead and change it on a control by control basis in the appropriate handler (closeField, menuPick, etc), assuming it's valid of course. That's my personal preference and I'm sure others might hate having to work that way! I'm betting that there are HIG guidelines for this stuff somewhere and that I'm probably breaking most of them! Pete Molly's Revenge http://www.mollysrevenge.com On Wed, May 4, 2011 at 10:58 AM, Bill Vlahos bvla...@mac.com wrote: Chris, Interesting idea. I hadn't thought of it before. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 4, 2011, at 7:52 AM, Nonsanity wrote: Just a comment on user interfaces, have you thought about using the common technique of coloring a field's background red if it doesn't contain a valid string? Move the test function into a handler that triggers on each key press. This way the right/wrong state of the field is visible to the user at all times. You can also disable buttons like Submit or Next Card or whatnot if the user shouldn't be able to click them with any fields still red. This interface style minimizes clicks and modal dialogs, while giving the user much more information. Just a thought. :) ~ Chris Innanen ~ Nonsanity On Wed, May 4, 2011 at 12:14 AM, Bill Vlahos bvla...@mac.com wrote: I do a validity check on a field to see if the user entered a valid date. If the user entered a valid date and presses TAB or RETURN the focus moves on to the next field. However, if the user enters an invalid date I want to keep the focus on the field to try again. This field script does everything correctly except that it doesn't set the focus back on the field. What am I doing wrong? on closeField if me is not a date then answer error Not a valid date. Retry? with No or Yes if it is Yes then focus on me exit closeField end if end if pass closeField end closeField Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. ___ 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 ___ 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 ___ 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 ___ 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: Staying on a field
Checking the dictionary for is a returns that operator. Are you sure you were in the All mode when you searched? Also, the search is ala chars so that if you search for is, you get lots more. I find this easy to use, despite its breadth. Craig Newman -Original Message- From: Bill Vlahos bvla...@mac.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Wed, May 4, 2011 1:58 pm Subject: Re: Staying on a field Chris, Interesting idea. I hadn't thought of it before. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 4, 2011, at 7:52 AM, Nonsanity wrote: Just a comment on user interfaces, have you thought about using the common technique of coloring a field's background red if it doesn't contain a valid string? Move the test function into a handler that triggers on each key press. This way the right/wrong state of the field is visible to the user at all times. You can also disable buttons like Submit or Next Card or whatnot if the user shouldn't be able to click them with any fields still red. This interface style minimizes clicks and modal dialogs, while giving the user much more information. Just a thought. :) ~ Chris Innanen ~ Nonsanity On Wed, May 4, 2011 at 12:14 AM, Bill Vlahos bvla...@mac.com wrote: I do a validity check on a field to see if the user entered a valid date. If the user entered a valid date and presses TAB or RETURN the focus moves on to the next field. However, if the user enters an invalid date I want to keep the focus on the field to try again. This field script does everything correctly except that it doesn't set the focus back on the field. What am I doing wrong? on closeField if me is not a date then answer error Not a valid date. Retry? with No or Yes if it is Yes then focus on me exit closeField end if end if pass closeField end closeField Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. ___ 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 ___ 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 ___ 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 ___ 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: GLXFramework
Tod - you're comments about Framework are excellent. I too wish that LiveCode chose Framework as the fully supported way to work with applications. I integrate a Valentina database into my application and find it truely difficult to make stand-alone builds for Windows and MacOS although I find the LiveCode developer environment terrific. ___ 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: GLXFramework
On 5/4/11 2:17 PM, william humphrey wrote: Tod - you're comments about Framework are excellent. I too wish that LiveCode chose Framework as the fully supported way to work with applications. I integrate a Valentina database into my application and find it truely difficult to make stand-alone builds for Windows and MacOS although I find the LiveCode developer environment terrific. Just to play devil's advocate: I find that GLX is overkill for almost all the apps I create. I prefer to use only code that actually applies to my project. I have my own set of common handlers and functions that I insert as needed, which keeps my apps small and compact. Don't get me wrong, GLX is excellent for what it does, but for me it isn't the best way or even the preferred way most of the time. If we had an officially-sactioned framework it would tend to become the default, to the exclusion of simpler methods where they are more appropriate. GLX is one choice, and ideally there would be others to choose from, or none at all. The final argument against an official framework is that people would tend to use it without understanding the underlying concepts involved. Once you have those, building an app isn't really that difficult. -- Jacqueline Landman Gay | jac...@hyperactivesw.com HyperActive Software | http://www.hyperactivesw.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: can't copy off a text field in a standalone
Well, Thomas, make sure to attend the Live LiveCode Code Event next time ;-) http://www.ustream.tv/recorded/12034326 http://livecode.tv In short, I think that a commandKeyDown handler in your field will solve the problem, but a complete Edit menu would be much more elegant. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xtalkprogrammer KvK: 50277553 New: Download the Installer Maker Plugin 1.6 for LiveCode here http://qery.us/ce On 4 mei 2011, at 21:51, Thomas Baehler wrote: Dear List In a standalone created with LC 4.6 I can't no longer copy text out of a field, paste works though. Did I miss a new property of a text field? Cheers Thomas ___ 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
Finding tips (was:Staying on a field)
Pete. I see what you are saying, and I know you are an experienced user. But what you are asking may be beyond the scope of any dictionary. Searching for date gives, well, date, and also dateItems, dateTime, dateFormat and others. It does not seem appropriate that methods of date validation be included there, rather only a precise definition and syntax. It is a bonus that examples are included, as well as user notes. And I always tout the see also stuff. All that seems like lagniappe. Anyone remember Tricks of the Hypercard Masters? After an LC Danny Goodman, that is what you are really yearning for. Craig -Original Message- From: Pete p...@mollysrevenge.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Wed, May 4, 2011 3:30 pm Subject: Re: Staying on a field I was searching for date, not is a. I guess what I'm saying is that the way the dictionary search works, you kinda have to know the answer before you search. In my case, I was trying to find if there was a way to validate a date so my first instinct was to do a search for date. The dictionary is great if you already know the the name of the function, command, keyword, etc but can't quite remember the syntax for it, whereas if you just have a general idea of what you're looking for (as was the case for me, it doesn't really work very well. In most applications, there is a searchable help index - you key in a word or phrase and you get a list of all the help entries that include that word or phrase. If the dictionary worked that way, I think it would be a much better resource, especially for new users. Pete Molly's Revenge http://www.mollysrevenge.com On Wed, May 4, 2011 at 12:05 PM, dunb...@aol.com wrote: Checking the dictionary for is a returns that operator. Are you sure you were in the All mode when you searched? Also, the search is ala chars so that if you search for is, you get lots more. I find this easy to use, despite its breadth. Craig Newman -Original Message- From: Bill Vlahos bvla...@mac.com To: How to use LiveCode use-livecode@lists.runrev.com Sent: Wed, May 4, 2011 1:58 pm Subject: Re: Staying on a field Chris, Interesting idea. I hadn't thought of it before. Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. On May 4, 2011, at 7:52 AM, Nonsanity wrote: Just a comment on user interfaces, have you thought about using the common technique of coloring a field's background red if it doesn't contain a valid string? Move the test function into a handler that triggers on each key press. This way the right/wrong state of the field is visible to the user at all times. You can also disable buttons like Submit or Next Card or whatnot if the user shouldn't be able to click them with any fields still red. This interface style minimizes clicks and modal dialogs, while giving the user much more information. Just a thought. :) ~ Chris Innanen ~ Nonsanity On Wed, May 4, 2011 at 12:14 AM, Bill Vlahos bvla...@mac.com wrote: I do a validity check on a field to see if the user entered a valid date. If the user entered a valid date and presses TAB or RETURN the focus moves on to the next field. However, if the user enters an invalid date I want to keep the focus on the field to try again. This field script does everything correctly except that it doesn't set the focus back on the field. What am I doing wrong? on closeField if me is not a date then answer error Not a valid date. Retry? with No or Yes if it is Yes then focus on me exit closeField end if end if pass closeField end closeField Bill Vlahos _ InfoWallet (http://www.infowallet.com) is about keeping your important life information with you, accessible, and secure. ___ 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 ___ 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 ___ 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 ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
how-to link to a video
Hello All, Just looking for some general advice. If I had a standalone or revlet, and I wanted it to be able to play an online vide -- say, one hosted on YouTube -- how could that be done? All I can conceive of now is a player object with its filename set to an url or something. But while I begin testing out that idea, I'm posting here in hopes of The Solution. Thanks. -- Nicolas Cueto ___ 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: how-to link to a video
So long as no one recommends The Final Solution. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/how-to-link-to-a-video-tp3497131p3497269.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: how-to link to a video
On May 4, 2011, at 8:12 PM, Nicolas Cueto wrote: If I had a standalone or revlet, and I wanted it to be able to play an online vide -- say, one hosted on YouTube -- how could that be done? Getting the URL of the video is one challenge, though it is possible to scrape through the page source to find it. If you're willing to figure out the URLs ahead of time, maybe the simplest way to work would be to have a movie on your card that you set the filename to the MP4 version of the YouTube video. ___ 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
Long-term Planning UI Ideas
Not sure how many people are both here and on the forum, so if this is a dup for you, I apologize. Looking for a little brainstorming, and maybe best practices for an interface for a long-term planner/calendar. This is basically a Yearly Calendar view rather than a Monthly or Weekly view. Years would be along the top as a main heading, with the months broken out below them. Then, spread out along the time line (as colored bars ??) would be whatever projects are scheduled over those months. Like so: 201120122013 JFMAMJJASONDJFMAMJJASONDJFMAMJJASOND xx yyy z www. (hopefully that comes through OK) I could do a really simple version using a bunch of graphics drawn directly on a card, but the time frame is arbitrary and could run 10s of years into the future (and maybe it doesn't have an end; similar to how Excel will let you scroll and scroll and scroll while continuously incrementing the column labels)), and maybe at least 10 into the past, and I'm not sure how I'd handle scrolling back and forward if everything was directly on a card. I've thought maybe a DataGrid, but haven't come up with any indication on what the maximum number of columns is (assuming there'd be a column for each month), and also not sure I could get the 'double header' (year and months) to work. I'm also not sure the Form portion of the DG would work because the row will be arbitrarily wide, and I don't think I can set up the row template to handle that. So, not sure what else is possible in LC (just starting out), so any and all input is welcome. -- David Glass - Gray Matter Computing graymattercomputing.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