General information
Category:
Coding, syntax & commands
>>>>>Hi,
>>>>> When I have a TEXTBOX on a form and it has focus
>>>>>(so that I can enter data), how can I make the standard
>>>>>Windows paste command (CONTROL-V) paste data into
>>>>>the TEXTBOX.
>>>>> For example, if I take the mouse and select some
>>>>>text in a TEXBOX and then press CONTROL-C (to copy the text),
>>>>>why can't I select another TEXTBOX and CONTROL-V (paste)
>>>>>some text into it. It doesn't work right now.
>>>>>
>>>>>Please advise.
>>>>>Thanks,
>>>>>Terry Harris
>>>>>terryy@aol.com
>>>>
>>>>You can just add appropriate standard Fox menu options (e.g. Cut,Copy,Paste,Undo) to application menu and Ctrl-C(V,etc.) will work Ok.
>>>
>>>Hi, Edward
>>>Could you give me a detailed example of what the menu item would look like for COPY?
>>
>>Menu Designer Item:
>>Prompt: Copy
>>Result: Bar #
>>Content: _MED_COPY
>>Option/Shortcut: Ctrl+C
>
>
>I have this code in my EDIT buttom.
>
>if cntbar("_MEDIT") = 0
> define popup _medit
>endif
>define bar _med_copy of _medit prompt "Copy" key "Ctrl+C"
>define bar _med_paste of _medit prompt "Paste" key "Ctrl+V"
>HTH - rob
Thanks for all the good suggestions.
Terry Harris
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only