Topic: copy button
How to create button to copy text from TextBox to paste text in Notepad
My Visual Database → General → copy button
How to create button to copy text from TextBox to paste text in Notepad
Hello Destiny
Un début de piste :
A start of the clue :
procedure TEditForm.CutToClipboard(Sender: TObject);
begin
Editor.CutToClipboard;
end;
procedure TEditForm.CopyToClipboard(Sender: TObject);
begin
Editor.CopyToClipboard;
end;
procedure TEditForm.PasteFromClipboard(Sender: TObject);
begin
Editor.PasteFromClipboard;
end;
JB
Merci Jean, je vais essayer demain. Bonne soirée
Thanks John, I'll try tomorrow. Have a good evening
Hello, here is the image that represents the text to be copied, the copy does not work with Notepad.
I would like to be able to copy "This is an essay" by clicking the button.
Bonjour, voici l'image qui représente le texte à copier, la copie ne fonctionne pas avec Notepad.
Je voudrais pouvoir copier "Ceci est un essai" en cliquant sur le bouton.
Have you tried ClipboardSet?
Great, that's exactly what I was looking for.
Thank you
Hello All,
Maybe this could also be of interest to you Destiny - I use it when I'm doing a lot of copy/paste within MVD with forms that have a lot of edit fields (but it works just the same if you are copying to an external document).
Derek.
It's another approach and works well, I keep the one from brian.zaballa which has a button and that's what I was looking for.
Thanks Derek.
My Visual Database → General → copy button
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi