Вниз
Скачать: 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
8-54754
Zeratul
2003-01-17 01:55
2003.04.17
Существует ли DelphiX для Delphi 6 ?


3-54476
sniknik
2003-03-28 18:16
2003.04.17
Midas + ADO = странное поведение. Кто сталкивался?


7-54934
Fider
2003-02-23 21:41
2003.04.17
Вопрос по AT командам модему


11-54541
Vitalis
2002-07-02 16:22
2003.04.17
Вопросы по TKOLHTTP и UWrd


3-54522
AVR
2003-03-19 16:02
2003.04.17
Key size too big for index IDX_SPISOK_IMYA




   Наверх