Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cut & Paste in Forms
Message
From
06/05/1998 09:18:50
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Cut & Paste in Forms
Miscellaneous
Thread ID:
00097286
Message ID:
00097286
Views:
49
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


VFP6 SP5, VFP8 SP1, VFP 9 SP 1 and Win XP SP 3 (unless otherwise specified)


www.wulfsden.com
Next
Reply
Map
View

Click here to load this message in the networking platform