Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cut & Paste in Forms
Message
From
06/05/1998 10:06:02
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00097286
Message ID:
00097308
Views:
20
>I'm sorry if this has been asked 100+ times already but...
>What is the simplest way to enable ctrl+c & ctrl+v for cutting and pasting across forms? There are no toolbars and the MSYSMENU is replaced by a custom one.
>
>I've been trying to use:
>ON KEY LABEL CTRL+C _cliptext = _SCREEN.ActiveForm.ActiveControl.SelText
>
>ON KEY LABEL CTRL+V _SCREEN.ActiveForm.ActiveControl.Value = _cliptext
>
>The problem(s) that I have found so far is that if I set the value = _cliptext then the user can not add to text already in a text/editbox.
>
>Any help would be appreciated thank you,
>
>- Brian
>
>BTW: This app is in VFP 5.0a

You must put in your custom menu the 'edit' pad. If you don't know how you can see it creating a new menu and issuing the 'quick menu' option. Then copy the results and then you have enabled the 'ctrl-c', 'ctrl-v', 'ctr.x' etc.
Hope this helps.
Saludos,
A.G.P.
---------
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform