I was hopping there was a supported delimiter.
I would add the data to the clipboard with delimiters between fields. The
user would position to the first textbox on the foreign form and issue a
Paste. The textboxes would fill and when the delimiter is encountered it
would skip to the next location identified in the tab order.
I didn't think it was possible but was hopping someone else had encountered
a solution that I was overlooking.
--
-- Thom Little --
www.tlanet.net -- Thom Little Associates, Ltd.
--
"Peter McMahon" <pe***@nospam.dotnet.za.net> wrote in message
news:un**************@TK2MSFTNGP11.phx.gbl...
Unless the receiving application handles the onpaste event, I'm afraid I
don't think this is possible (how would the clipboard know which textboxes
to put the data in? Or how to split it? etc.)
Peter
"Thom Little" <th**@tlanet.net> wrote in message
news:uy**************@TK2MSFTNGP10.phx.gbl... Good idea but I have the inverse problem.
I want to load the clipboard in my Windows application, allow the user to
go to someone else's form (HTML even), and paste three values in three
consecutive textboxes on that form with one paste command.
I only control getting the stuff into the clipboard.
--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--
"Peter McMahon" <pe***@nospam.dotnet.za.net> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl... Hi Thom,
Take a look at the onpaste DOM event in the Internet Development SDK
documentation. If you handle that event using client-side JavaScript (or
VBScript), you may be able to read the contents of the clipboard and set
the values of your three textboxes appropriately.
Cheers,
Peter
Peter McMahon
http://www.dotnet.za.net
"Thom Little" <th**@tlanet.net> wrote in message
news:uU**************@TK2MSFTNGP10.phx.gbl...
I have a form with three textboxes.
In an external C# 2.0 application I need to load the clipboard with
three pieces of information so I can position to the first textbox in
the forma and select paste to paste into all three at the same time.
something like ...
one\ttwo\tthree or one\ntwo\nthree
... any suggestions?
--
-- Thom Little -- www.tlanet.net -- Thom Little Associates, Ltd.
--