Edit1 copiar contenido al clipboard
Hola tengo un Edit1 con un Boton llamado Copiar
necesito que al presionar el boton copiar, se copie el contenido que hay en el Edit1 al portapapeles de windows. bueno en visual basic 6 lo hago asi Clipboard.Clear Clipboard.SetText Text1.SelText Muchos Saludos y Gracias |
Directo desde el F1
TCustomEdit.CopyToClipboard TCustomEdit See also Example Copies the selected text in the edit control to the Clipboard in CF_TEXT format. procedure CopyToClipboard; Description Use CopyToClipboard to replace the contents of the Clipboard with the selected text. CopyToClipbard does not clear the Clipboard if no text is selected. If no text is selected, CopyToClipboard does nothing. Note: Calling CopyToClipboard does the same thing as sending the edit control a WM_COPY message. |
??????????????????????????????
??? ya lo habia revisado el help de delphi pero = quedo con???? |
Pues...es q la funcion es autoexplicativa... Edit1.CopyToClipboard, para copiar el contenido al clipboard...:rolleyes:
|
y hasta hay un ejemplo :rolleyes::rolleyes:
|
muchas gracias !!, ya encontre la solucion
es esta:
Saludos |
La franja horaria es GMT +2. Ahora son las 02:03:06. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi