Вниз
Скачать: 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.011 c
3-54516
korvin
2003-03-29 07:54
2003.04.17
Фокус по колумнам dxDBGrid`а никак не проходит.


3-54535
Vladislav
2003-04-01 10:28
2003.04.17
DBGrid и мышка с


9-54390
Jackson
2002-11-16 20:40
2003.04.17
Фон


3-54454
DenKop
2003-03-22 22:32
2003.04.17
TIBQuery


1-54602
ДЮША
2003-04-07 17:26
2003.04.17
сворачивается в системный трей




   Наверх