Главная страница
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.016 c
8-54754
Zeratul
2003-01-17 01:55
2003.04.17
Существует ли DelphiX для Delphi 6 ?


11-54545
stupid
2002-06-28 16:55
2003.04.17
Delphi форма + MCK ?


8-54748
Demetrius
2003-01-16 11:08
2003.04.17
Слои типа...


14-54893
Vlad Oshin
2003-04-02 09:35
2003.04.17
Помогите! Нужна программа для оценки железа компа.


3-54416
Z_man7777
2003-04-01 08:47
2003.04.17
Есть вопросик по InterBase 6.x