Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making Cut and Paste work.
Message
From
17/07/1997 09:25:47
 
 
To
17/07/1997 09:22:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00040236
Message ID:
00040393
Views:
35
>>>>>>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

Your welcome from all of us...
Robert Keith
Independent Developer
San Antonio, Texas
E-mail address:
rebelrob1@yahoo.com
Previous
Reply
Map
View

Click here to load this message in the networking platform