Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Special Copy/Paste
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00003506
Message ID:
00003510
Views:
30
>How would I go about it to create a shortcut (say Alt+C) to do the following:
>
>On a form that has the fields: Name, address, City, Province, Postal code
>the user press Alt+C and all the contents of those fields would end up in the memory (as if pressing Ctrl+C) where he could paste them with the regular Ctrl+V on a Word Perfect document.
>
>Thanks in advance.

Raymond,

One way would be to make a composite string of those 5 fields (it could rebuild the string everytime a valid from one of the boxes is fired or something) and then use the _CLIPTEXT variable to copy that to the clipboard. You may have to 'hardcode' any formatting (spaces, tabs, returns) but it should work.

HTH,
Scot.
Previous
Reply
Map
View

Click here to load this message in the networking platform