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

Down

Insert Richedit method Find similar branches


Atrem   (2001-12-18 19:18) [0]

Hi, I need to insert a character in the text of Richedit, I write
Richedit.lines.insert (richedit.selstart + 1, "@");
richedit.refresh;
For some reason, nothing happens?



KilkennyCat   (2001-12-19 02:40) [1]

because it is not correct.
Your code should add the character "@" as a new line with an index = the beginning of the selection. Conclusion: if nothing is selected, nothing will be inserted.
If selected, but the beginning of the selection is greater than the lines - nothing is inserted.



Slava   (2001-12-19 07:35) [2]

And so:
RichEdit.SetSelTextBuf ("@");



Pages: 1 whole branch

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

Top









Memory: 0.55 MB
Time: 0.073 c
6-22314
SDS
2001-06-10 23:58
2002.01.08
Question about the POST method


6-22277
prosof
2001-10-02 10:21
2002.01.08
Definition of traffic of each correspondent on the network by IP.


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?


4-22474
Slym
2001-11-02 11:25
2002.01.08
Can't make a hook ... Help!


4-22455
Maamed
2001-10-31 10:13
2002.01.08
Activate another program window





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