Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy&Paste programmatically ?? (spell checker)
Message
From
17/08/1998 18:44:45
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00127034
Message ID:
00127571
Views:
25
>You can also use the system variable _CLIPTEXT to get text into and out-of the clipboard.
>
>-Mike

Another method (I must write it somewhere or I'll forget it) is to use .SelText property. The help says that if you put something into the seltext property, it gets actually pasted at position .SelStart, replacing .SelLength (maybe I misspelled some properties here). If .SelLength is 0, it comes down to a simple insert.

This way we can leave _cliptext alone, without the need to save/restore its previous content.

This is just based on what I read in the help, didn't try it.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform