Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Making Cut and Paste work.
Message
De
17/07/1997 09:22:30
 
 
À
17/07/1997 09:17:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00040236
Message ID:
00040391
Vues:
32
>>>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform