RE: Cutting and Pasting from One Field to Another
Thank you for this suggestion, but no, I did not make either of these modifications. The problem persists across several fields in a group. I am also unable to copy to or from Word. Lori -Original Message- From: Dave Cragg [SMTP:[EMAIL PROTECTED]] Sent: Wednesday, June 28, 2000 6:46 PM To: [EMAIL PROTECTED] Subject: Re: Cutting and Pasting from One Field to Another At 12:58 PM -0400 6/28/00, LORI FRAIND wrote: The cut and paste functions between fields do not seem to be working, even though they were working earlier today. Is there a way of (inadvertently) setting fields to not allow cut and paste? The cut function does not even seem to be working if I switch over to Word and try to paste the text there. Thanks. Hi Have you introduced any handlers that might trap the cut or paste actions? rawKeyDown or commandKeyDown are the ones I can think of that would do this. Cheers Dave Cragg _ The LACS Centre (Business English Training Resources) mailto:[EMAIL PROTECTED] http://www.lacscentre.co.uk _ Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
RE: Cutting and Pasting from One Field to Another
I have to say that I have also had this problem. I would copy from a word processor doc, and try to paste it into MC, but without success. I discovered that part of the problem one time was that I had installed the menu bar (which traps copy and paste commands without allowing them to pass). When I edited the menu so that cut and paste had the appropriate commands assigned in the menuButton, things got better. But there was one time I had not installed the menubar, and I still had trouble. I never found out what caused that one. Raymond on 6/29/2000 4:15 PM, LORI FRAIND [EMAIL PROTECTED] wrote: Thank you for this suggestion, but no, I did not make either of these modifications. The problem persists across several fields in a group. I am also unable to copy to or from Word. Lori -Original Message- At 12:58 PM -0400 6/28/00, LORI FRAIND wrote: The cut and paste functions between fields do not seem to be working, even though they were working earlier today. Is there a way of (inadvertently) setting fields to not allow cut and paste? The cut function does not even seem to be working if I switch over to Word and try to paste the text there. Thanks. Dave Cragg [SMTP:[EMAIL PROTECTED]] replied: Hi Have you introduced any handlers that might trap the cut or paste actions? rawKeyDown or commandKeyDown are the ones I can think of that would do this. Cheers Dave Cragg _ The LACS Centre (Business English Training Resources) mailto:[EMAIL PROTECTED] http://www.lacscentre.co.uk _ Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: Cutting and Pasting from One Field to Another
At 12:58 PM -0400 6/28/00, LORI FRAIND wrote: The cut and paste functions between fields do not seem to be working, even though they were working earlier today. Is there a way of (inadvertently) setting fields to not allow cut and paste? The cut function does not even seem to be working if I switch over to Word and try to paste the text there. Thanks. Hi Have you introduced any handlers that might trap the cut or paste actions? rawKeyDown or commandKeyDown are the ones I can think of that would do this. Cheers Dave Cragg _ The LACS Centre (Business English Training Resources) mailto:[EMAIL PROTECTED] http://www.lacscentre.co.uk _ Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: pasting spell check
Richard MacLemale [EMAIL PROTECTED] recently wrote: Why? I'm trying to create a spell check engine that does spell checking "on the fly", the same way that Microsoft Word 98 does. I've gotten pretty darned far with it, but I need a way of checking the spelling words that the user pastes. If I HAVE to, I can check every word in the whole entire field each time the pasteKey message occurs, but my preference would be to find a better solution. If you are looking for a spell-checker for MetaCard, Richard, one is already available called spellCheck.mc with a 130,000 word dictionary. It can be called at any time simply by using spellcheck string. start using stack "spellCheck" spellcheck word 1 to 3 of fld "myField" spellcheck "Just a test" spellcheck fld 1 A copy was sent to Scott and Kevin for their Contributions directories and it is also on www.flexibleLearning.com in the XTalk section. To handle your paste situation, you could trap for an end of word or closeField. /H Hugh Senior The Flexible Learning Company Consultant Programming Software Solutions Fax/Voice: +44 (0)1483.27 87 27 Email: [EMAIL PROTECTED] Web: www.flexibleLearning.com Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
pasting
Here's a rather strange request... When someone pastes text into a field, is there any way to get the beginning char and ending char of the text they pasted? I've played around with pasteKey, but can't seem to get anything to work. In other words, if I paste "Just a test" into an empty field 1, I'd like MetaCard to somehow return to me "chars 1 to 11 of field 1". If this is possible, I'd love to know how. If not, oh well. Why? I'm trying to create a spell check engine that does spell checking "on the fly", the same way that Microsoft Word 98 does. I've gotten pretty darned far with it, but I need a way of checking the spelling words that the user pastes. If I HAVE to, I can check every word in the whole entire field each time the pasteKey message occurs, but my preference would be to find a better solution. :) Richard MacLemale Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: pasting
Here's a rather strange request... When someone pastes text into a field, is there any way to get the beginning char and ending char of the text they pasted? I've played around with pasteKey, but can't seem to get anything to work. In other words, if I paste "Just a test" into an empty field 1, I'd like MetaCard to somehow return to me "chars 1 to 11 of field 1". If this is possible, I'd love to know how. If not, oh well. Tough job. I think your best bet is to use a hidden field where you can paste the same text, find fld 2 in the main field and get the "foundChunk". Trouble is that at least on MacOS the pasteKey message is generated on command + c also, probably a bug to be reported. Why? I'm trying to create a spell check engine that does spell checking "on the fly", the same way that Microsoft Word 98 does. I've gotten pretty darned far with it, but I need a way of checking the spelling words that the user pastes. If I HAVE to, I can check every word in the whole entire field each time the pasteKey message occurs, but my preference would be to find a better solution. I think your best bet is to use a hidden field where you can paste the same text, find fld 2 in the main field and take it from there. Trouble is that at least on MacOS pasteKey message is generated on command + c also, probably a bug to be reported. :) Richard MacLemale Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list. Regards, Andu Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.
Re: pasting
A little off topic, however related. The external collection includes functions which can get and set text in the clipboard. You can trap for pasting (pastekey) then query the clipboard. regards, Tuviah Snyder Diskotek Custom Application Development SuperCard/HyperCard Conversion at a low price Web: http://members.aol.com/diskotek1/ ICQ:66810408 Fax: (505) 218-2902 Archives: http://www.mail-archive.com/metacard%40lists.best.com/ Info: http://www.xworlds.com/metacard/mailinglist.htm Please send bug reports to [EMAIL PROTECTED], not this list.