Why can't I copy/paste into fields using ctrl+v etc
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Why can't I copy/paste into fields using ctrl+v etc
I am making my first app for desktop - the only objects I have on my page are textfields and buttons. Strangely I do not seem able to copy and paste within any of the text fields using cmd+c/cmd+v etc (I can manually type and and use delete/backspace). There is no code on the stack at all and little on the card that is significant. In fact, even if I create a whole new card and put a new textfield on it (entirely virgin and code free) it also seems to inherit the same limitation of no copy and paste - of course if I create a whole new stack then I dont have the problem. I am sure it must be an property option I have mis-clicked somewhere - can anybody help me out please with some suggestions? I do have the card in run mode of course - same problem even when the stack is compiled.
Thanks
Thanks
Re: Why can't I copy/paste into fields using ctrl+v etc
in stack properties, check if the "can't modify" check box is checked.
Re: Why can't I copy/paste into fields using ctrl+v etc
Thanks magice but sadly it's not that, "can't modify" is unticked - I also tried comparing all properties to another new stack and even with them the same the problem persists - very odd
-
- VIP Livecode Opensource Backer
- Posts: 10052
- Joined: Sat Apr 08, 2006 7:05 am
- Contact:
Re: Why can't I copy/paste into fields using ctrl+v etc
Which version are you using, and on which OS version?
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn
Re: Why can't I copy/paste into fields using ctrl+v etc
I'm using version 6.62 on Mac OS X Mavericks - v 7.0 simply crashes on startup for me, even before the IDE loads or the splash - I have reported it to bug report. Tried re-downloading numerous times - conflicts with my system somehow.
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Contact:
Re: Why can't I copy/paste into fields using ctrl+v etc
Hi glynypig
What about the 'lock text' properties of your fields, or in your card script do you have any 'rawkeyDown' or similar handlers that might be interfering with keystrokes?
What about the 'lock text' properties of your fields, or in your card script do you have any 'rawkeyDown' or similar handlers that might be interfering with keystrokes?
"...this is not the code you are looking for..."
Re: Why can't I copy/paste into fields using ctrl+v etc
Hi.
Dave is right in this way:
Make a brand new stack with brand new but similar fields, (same OS, LC, of course)and see if the issue occurs there as well. I assume it will not, and that you will find something which is happening in your original stack.
Craig Newman
Dave is right in this way:
Make a brand new stack with brand new but similar fields, (same OS, LC, of course)and see if the issue occurs there as well. I assume it will not, and that you will find something which is happening in your original stack.
Craig Newman
Re: Why can't I copy/paste into fields using ctrl+v etc
Hi, no I have checked lock text etc - like I said if I create a new stack then the problem is not there - but when I create anew card in my current stack the problem does exist. Even cmd+c will not copy to the clipboard when I try to paste to notepad. There are no scripts on the stack.
I assumed that the only way this could be would be possible (inherited by a new card) would be if the stack itself had a setting or script causing it but all of the properties are standard - checked them and there are no scripts running on the stack.
I assumed that the only way this could be would be possible (inherited by a new card) would be if the stack itself had a setting or script causing it but all of the properties are standard - checked them and there are no scripts running on the stack.
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Contact:
Re: Why can't I copy/paste into fields using ctrl+v etc
Yes it does sound like it is something in your stack. If I was in your position and I had tried everything i could think of (including frontscripts, behaviours, off-screen and invisible objects) I would do something like the following:
BTW select objects to delete via the ProjectManager in case there are some off-screen or invisible controls
Let us know how you get on...
Dave
- 1 - Close down LiveCode (make sure you do this to clear stuff out of memory)
2 - Make a 'sacrificial' copy of the stack
3 - Reopen LiveCode and open the 'sacrificial' copy of the stack
4 - Start deleting objects and/or code bit-by-bit, each time saving the stack, closing LiveCode and reopening the stack and then trying to paste again
5 - If you keep on doing this and at some stage things start to work for you then the culprit was the last object/handler that you deleted
6 - If you keep on doing this until the stack is empty (and you saved it, exited LiveCode and then reopened the stack) and a new field still doesn't work for you then it must be something to do with the stack itself and I would consider moving everything over to a new stack
BTW select objects to delete via the ProjectManager in case there are some off-screen or invisible controls
Let us know how you get on...
Dave
"...this is not the code you are looking for..."
Re: Why can't I copy/paste into fields using ctrl+v etc
Just to verify, did you assign a menu bar to the stack? A menu without a script would cause that behavior.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com
HyperActive Software | http://www.hyperactivesw.com
Re: Why can't I copy/paste into fields using ctrl+v etc
Thanks for your advice Dave, yes I copied everything over to my new stack and now copy and paste works fine - very odd. Yet, stripping out each of the elements one at a time did not resolve the problem - in fact the problem seemed to persist over the whole of that stack and any new cards made
Re: Why can't I copy/paste into fields using ctrl+v etc
Holy Cow Jacque - yes I did assign a menu without a script yet! So you think that that was the cause of the problem?
-
- VIP Livecode Opensource Backer
- Posts: 858
- Joined: Wed Jun 24, 2009 1:17 pm
- Contact:
Re: Why can't I copy/paste into fields using ctrl+v etc
Nice catch Jacque 

"...this is not the code you are looking for..."
Re: Why can't I copy/paste into fields using ctrl+v etc
Jacque is constantly doing things like this. I have spoken to her about it, but to no avail.
Craig
Craig
Re: Why can't I copy/paste into fields using ctrl+v etc
dunbarx wrote:Jacque is constantly doing things like this. I have spoken to her about it, but to no avail.
Craig


