Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2003.04.17;
Скачать: 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 вся ветка

Текущий архив: 2003.04.17;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.012 c
1-54704
Ик сик
2003-04-03 15:19
2003.04.17
Как создать свой курсор


8-54765
CHiF
2003-01-15 12:16
2003.04.17
Как в PowerDraw е тайлить текстуру?


9-54387
JB
2002-11-15 09:14
2003.04.17
Спрайты для игр


1-54600
Delph1
2003-04-07 16:36
2003.04.17
Как из TMemoryStream в TImage поместить файл JPG?


1-54630
Arx
2003-04-07 23:37
2003.04.17
Open programm