"Henning Madsen" <henning.k.madsen@teliamail.dk> skrev i en meddelelse
news:3e4ecd75$0$390$d40e179e@nntp01.dk.telia.net...
[klip]
> Alså lade Delphi programmet indlæse et ord
> fra klipbordet til f.eks. et Edit feldt,
> hvordan kan dette gøres. ???
[klip]
TCustomEdit.PasteFromClipboard?
Sakset fra Delphi hjælpe-fil:
"Pastes the contents of the Clipboard into edit control, replacing the
current selection.
procedure PasteFromClipboard;
Description
Use PasteFromClipboard to replace the selected text with the contents of
the Clipboard, or, if no text is selected, to insert the contents of the
Clipboard at the cursor. If the Clipboard is empty, or if it does not
contain anything in CF_TEXT format, PasteFromClipboard does nothing.
Note: Calling PasteFromClipboard does the same thing as sending the edit
control a WM_PASTE message."
--
M.v.h.
Olav
http://www.experit.dk
Fjern intet for at skrive til mig