Copy and Paste on Device B4PP editor

Discussion in 'Basic4ppc Wishlist' started by Woinowski, Aug 23, 2007.

  1. Woinowski

    Woinowski Active Member Licensed User

    Hi,

    the Basic4PPC libraries can handle context menus. So it would be a nice idea to add one for the standard clipboard functions to the device code editor.

    Jens
     
    Last edited: Aug 23, 2007
  2. Woinowski

    Woinowski Active Member Licensed User

    Really nobody else interested in this feature?

    :confused:
     
  3. oversteve

    oversteve New Member

    I am interested in this feature. I am searcing right now for clipboard/paste/cut/clip tutorials right now. I can't figure out, as of yet, how to do it.

    Steve
     
  4. Cableguy

    Cableguy Expert Licensed User

    Wrong place to do it on, post in the question thread....
    If i'm not mistaken it is done using one of the dll found in the un-official libs

    Edit:
    Found it with a very simple search of the key word "Clipboard"...
    See the help file for the Hardware.Dll, wich is a part of the standart install...

    PS. I've just realise that this thread was about the ability to copy text from the chm files to the editor...
    You can't?
    I just use the "normal" crtl+C & crtl+V and it works fine...
     
    Last edited: May 23, 2008
  5. NewKreation

    NewKreation Member Licensed User

    I recently purchased Basic4ppc and found this thread that listed the feature I would like to see in the future.

    Since the pocket PC is capable of multi-tasking, I use ListPro to organize many code snippits. I can quickly switch back and forth between the two, however I am not allowed to copy or paste text in the Basic4ppc Pocket PC editor.
     
  6. Mr_Gee

    Mr_Gee Active Member Licensed User

    Has anyone tried PocketCm Keyboard?
    It has a copy/paste/cut feature (by holding the enter key)
    works for me
     
  7. agraham

    agraham Expert Licensed User

    As Cableguy pointed out above the standard device keyboard supports Ctl-C, Ctl-X and Ctl-V, you don't need a special keyboard, although I use Resco Keyboard 'cos it looks nicer.
     
  8. bdiscount

    bdiscount Active Member Licensed User

    PCM .14 also allows you to program each key to place a lowercase, uppercase or a keyword like Msgbox() etc. I have it programed for Basic4ppc key words :sign0060:
     
  9. NewKreation

    NewKreation Member Licensed User

    Apparently, I need to clarify my post above. I am not able to copy text from the Basic4ppc editor window and paste the copied text to another application and vice-versa.

    Most applications use the "Windows" copy/paste buffer, while Basic4ppc uses a proprietary copy/paste buffer. I would like to see Basic4ppc also use the standard copy/paste buffer.

    Thanks for everyone's help though. The comments have led me to some useful looking software! Since I am still running WM2003SE, not WM5, I can not use "PocketCM Keyboard". I have upgraded my HP 4700 to WM5, but I did not like losing the row of icons in the toolbar. The very useful toolbar was replaced by the Smartphone only, non-touchscreen, two-button bar. For this reason only, I downgraded back to WM2003SE.
     
  10. Woinowski

    Woinowski Active Member Licensed User

    Is was asking for COpy and Paste Context Menu -- ON THE DEVICE

    Hi,

    apparently there's been a long chain of misunderstandings. My idea was about a feature for the device editor of B4PPC. It was not about keyboard shortcuts and the likes on the PC.

    Well, it's no high priority feature...

    Regards
    Jens
     
  11. agraham

    agraham Expert Licensed User

    Highlighted from my post above
     
  12. agraham

    agraham Expert Licensed User

    While we are resurrecting this topic Basic4ppc does seem to use the standard clipboard. On both device and desktop I can copy/paste to/from Basic4ppc and Word (for example).
     
  13. Erel

    Erel Administrator Staff Member Licensed User

    The built-in Cut/Copy/Paste menu items do not use the standard clipboard. It will be fixed in the next version.
    BTW, the beta version will be released soon.
     
  14. klaus

    klaus Expert Licensed User

    Ctl-C, Ctl-X and Ctl-V work fine on my WM2003 Qtek 9090.
    I have an Interkey keybord, but works also with the standard one.

    I think that Woinowski meant that it is not possible, at least on my device, to point with the stylus onto the selected text and get the contextmenu to edit the text, like in Word (tab & hold function).

    Best regards.
     
  15. agraham

    agraham Expert Licensed User

    I assume you mean on the Edit menu on the device. I've never used those as they are a bit clumsy. On the rare occasion that I edit on the device I use Ctl-X, Ctl-C and Ctl-V on the device keyboard which do use the standard clipboard.
     
  16. Erel

    Erel Administrator Staff Member Licensed User

    That's correct.
     
  17. Woinowski

    Woinowski Active Member Licensed User

    Klaus is right with his assumption

    I would like to have a point and hold context menu. Have not yet checked the new device IDE (6.8 beta). Maybe this solves the issue...
     
  18. pdablue

    pdablue Active Member Licensed User

    You can "Copy" and "Paste" using the Device IDE Editor.

    Hi,

    I write all of my code on the Pocket PC, an HP2210, using the Device
    IDE Editor.

    I am running Basic4ppc Version 6.30, with .Net Version: 2.0.6129

    Lets say I want to copy a section of code so I can paste it in other
    sections of the same program.

    (1.) First, I hilight the section of code that I want to copy using
    the PDA Stylus. Press the Stylus down on the PDA screen
    and hold it down while dragging it across the section of code
    that you wish to copy, then remove the Stylus from the PDA
    screen. This will hilight that section of code.

    (To unhilight a hilighted section of code, simply tap the Stylus
    anywhere on the PDA screen and then remove it.

    (2.) Once a section of code has been hilighted, tap on the "Tools"
    menu selection on the menubar at the bottom of the screen
    to see the pop-up menu selections. Then tap on "Copy" to
    copy the hilighted section of code into the copy/paste buffer.

    (3.) Next, goto the section of code where you want to paste the
    hilighted section of code. You need to tap the Stylus on the
    PDA screen until you can see the Cursor on the screen. To
    move the cursor where you want it you may have to goto the
    end of the line where the Cursor currently is located and press
    the "Enter" key on the Soft Input Panel (SIP) keyboard one or
    more times to get the cursor to move where you want it.
    Once, you have the cursor in position, tap on the "Tools" menu
    selection on the menubar at the bottom of the screen to see
    the pop-up menu selections. Then tap on "Paste" to copy the
    hilighted section of code stored in the copy/paste buffer to the
    position where the cursor is currently located on the PDA screen.

    Thats all there is to it. You can even copy a hilighted section of code from
    one program into the copy/paste buffer then open a totally different file
    and paste the code currently in the copy/paste buffer into the different
    file that you have just opened. So, you can copy a code section from one
    file into another file.
     
  19. Woinowski

    Woinowski Active Member Licensed User

    I know that I can "Copy" and "Paste" using the Device IDE Editor.

    ... I just wanted another way to do it -- a way would seamlessly integrate the look and feel of the Device IDE into the platform.

    This is the whishlist not the help section of the forum

    Obviously that feature is too obvious to be understood by anybody. Or I am too stupid to describe it...

    :sign0148: I give up and retreat this wish :BangHead:
     
  20. taximania

    taximania Well-Known Member Licensed User

    I understood you perfectly clear.

    A context menu in the Device IDE with Cut, Copy and Paste on it.

    Highlight some text, hold the pen on the screen, select your option from the context menu, voila done.

    Or hold the pen on the screen at the cursor position you require, select your option from the context menu, again done.

    I like the idea myself :)
     
Loading...