×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Apr 2008
    Posts
    7

    Post copy and paste on E65

    Quick question, I'm writing a J2ME program and one of the forms is a TextBox. I want to be able to copy and paste from it but when I use the pencil key the copy and paste options aren't there.

    Am I missing something here or how do I copy and paste from a TextBox on a symbian phone?

    I've searched around but all I can find is code to make your own clipboard that works within the program

    Any help appreciated

  2. #2
    Registered User
    Join Date
    Apr 2008
    Posts
    7

    Re: copy and paste on E65

    i found some very odd new information about the problem.

    from the TextBox screen i have two options to go to two different screens. if i go to the first one and then click back, copy and paste still aren't there but if i go to the second and then click back they appear.

    the two screens are almost identical form objects and the only difference between the two commands to go to the screens is that the command that doesn't work has the commandType set to Command.SCREEN and the other has it set to Command.OK.

    I've confirmed that this is why it appears for one and not the other because if i switch the commandTypes, the copy and paste options then appear after viewing the first form and not the second.

    does anyone have any ideas?

  3. #3
    Registered User
    Join Date
    Apr 2008
    Posts
    7

    Re: copy and paste on E65

    I found the problem.

    In the TextBox class I had a reference to another form so that I could use some of its methods. Having this reference in the constructor affected how the JVM dealt with the text box.

    I took the reference to the other form out of the constructor so now it's only invoked when it's needed and all is well

Similar Threads

  1. Copy and Paste Texts
    By purple-boy in forum Symbian
    Replies: 13
    Last Post: 2010-04-13, 01:58
  2. Replies: 1
    Last Post: 2009-02-12, 07:29
  3. How to Copy and paste
    By nadym89 in forum Symbian
    Replies: 2
    Last Post: 2008-06-07, 10:39
  4. copy / paste ... in CEikRichTextEditor
    By Jeepy in forum Symbian
    Replies: 1
    Last Post: 2007-01-17, 14:14
  5. In CEikGlobalTextEditor copy paste problem
    By birinder in forum Symbian User Interface
    Replies: 1
    Last Post: 2006-08-09, 06:49

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×