>Hi All,
>
>What solutions are there to paste text into an edit box? I need to insert a username and date/time when the user presses say the F12 key. I know foxtools has a paste function, but don't know if it's the best (or current) way.
Several ways, the simplest would be, in the .KeyPress of the editbox
this.value="whatever you want "+transform(datetime())
or, if you wnat to add it below existing text:
this.value=this.value+chr(13)+"whatever you want "+transform(datetime())
In case you are sure you have the usenrame in the clipboard, you can use the _cliptext system variable which always has a copy of the clipboard.