Home
Top.Mail.Ru Yandeks.Metrika
Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Down

Copy to Clipboard Find similar branches


Yakudza   (2001-12-20 16:46) [0]

How can I copy the value of the String variable to the Clipboard?



Delirium   (2001-12-20 16:52) [1]

Edit1.CopyToClipboard;



MBo   (2001-12-20 16:59) [2]

See also SetTextBuf (Buffer: PChar);



Юрий Зотов   (2001-12-20 17:25) [3]

> Delirium © (20.12.01 16: 52)

What does this Edit1? You need to copy the line to the clipboard. What does it have to do with any controls?


> MBo © (20.12.01 16: 59)

We read the first line in the SetTextBuf description and see: "Assigns an I / O buffer to a text file."
Was it asked about this?


> Yakudza © (20.12.01 16: 46)

See help - TClipboard and Clipboard function. Everything is very simple:

uses
..., ClipBrd;
.
Clipboard.AsText: = "string";



MBo   (2001-12-20 17:46) [4]

Sorry, spoiled when sending - erased the first line
Use the ClipBoard AsText property
those. Means ClipBoard.SetTextBuf; (

and it also works, although here, of course, PChar, and not string.
getmem (p, 3);
p: = "qw";
clipboard.SetTextBuf (p);



Yakudza   (2001-12-20 17:48) [5]

> Yuri Zotov
What you need.
Thank you!



Pages: 1 whole branch

Forum: "Main";
Current archive: 2002.01.08;
Download: [xml.tar.bz2];

Top















Memory: 0.82 MB
Time: 0.028 c
4-22499
Yus
2001-10-31 20:51
2002.01.08
FindWindow


3-21930
Roman55
2001-12-04 16:37
2002.01.08
BDE


14-22404
Mjh
2001-11-05 14:58
2002.01.08
Ineta cost (hour)


1-22241
Yuraz
2001-12-17 10:09
2002.01.08
FileListBox1.FileName returns the full path to the file, how to make it return only the file name?


1-22143
[NWC] Eminem
2001-12-20 12:04
2002.01.08
.dcu





afrikaans albanian Arabic armenian azerbaijani basque belarusian bulgarian catalan Chinese (Simplified) Chinese (Traditional) croatian Czech danish Dutch English estonian filipino finnish French
galician georgian German greek haitian Creole hebrew Hindi hungarian icelandic indonesian Irish italian japanese Korean latvian lithuanian macedonian malay maltese norwegian
persian polish portuguese Romanian russian serbian slovak Slovenian Español swahili Swedish thai turkish Ukrainian urdu vietnamese welsh yiddish bengali bosnian
cebuano Esperanto gujarati hausa hmong igbo javanese kannada khmer lao latin maori marathi mongolian nepali punjabi somali tamil telugu yoruba
zulu
English French German Italian Portuguese Russian Spanish