_ClipText
This is a very cool system variable. It contains the contents of the clipboard. What makes it cool is that you can give it a new value, and doing so puts that value on the clipboard. Usage | _CLIPTEXT = cExpr cExpr = _CLIPTEXT |
In versions prior to VFP 7, you can't put memo data directly into _CLIPTEXT, but apply any character function to it and you're in business. TRIM() usually does the trick. |
Example | * Stuff the clipboard with the date. _CLIPTEXT = DTOC(DATE()) * Now you can insert the date by pressing CTRL+V. |
See Also | DataToClip, FoxTools |
View Updates
Copyright © 2002 by Tamar E. Granor, Ted Roche, Doug Hennig, and Della Martin. All Rights Reserved.