Вниз
Скачать: CL | DM;

Как узнать положение курсора в MEMO?   Найти похожие ветки 

 
Sherlock   (2003-04-04 11:42) [0]

Как узнать положение курсора в Memo и вставить от этого места текст?


 
Jel ©   (2003-04-04 12:03) [1]

Help, однако...

Read SelStart to determine the position of the first selected character, where 0 indicates the first character, the second with 1, and so on. If there is no selected text (SelLength=0), SelStart indicates the position of the cursor.


 
Roma ©   (2003-04-04 12:10) [2]

// var Row, Column: Integer;

Row := Memo1.Perform(EM_LINEFROMCHAR, Memo1.SelStart, 0);
Column := Memo1.SelStart - Memo1.Perform(EM_LINEINDEX, Row, 0);


 
Sherlock   (2003-04-04 14:00) [3]

Спасибо. Удачных выходных



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.45 MB
Время: 0.013 c
1-54728
AlexMax
2003-04-05 17:20
2003.04.17
Всё тот же Hint


7-54904
Gero-man
2003-02-23 12:17
2003.04.17
Отлов обращений к файлу


14-54888
Palladin
2003-04-02 02:01
2003.04.17
Кто в muLisp силен? :(


1-54568
SeNtiMeL
2003-04-06 01:44
2003.04.17
Как читать тескстовую информацию из консольных приложений ?


14-54856
Supreme 2
2003-04-01 17:13
2003.04.17
www.programme.ru взломан!




   Наверх