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

проблемы с rich edit   Найти похожие ветки 

← →
Fantom   (2002-12-23 15:54) [0]

Добрый день.
как установить позицию курсора в крайнее левое положение??
когда я данные отправляю по сети из rich edit у меня курсор убегает на вторую строку. как мне избежать этого????
заранее спасибо.


← →
pusrg ©   (2002-12-23 16:03) [1]

Читаем хелп:

Specifies the position of the first selected character in the text.

property SelStart: Integer;

Description

Read SelStart to determine the position of the first selected character, where 0 indicates the first character. If there is no selected text, SelStart indicates the position of the cursor. Set SelStart to remove the current selection and position the cursor just before the indicated character.

To select a particular range of the text, first set SelStart to position the cursor, and then set SelLength to extend the selection.


← →
TAG_SPB ©   (2002-12-23 19:24) [2]

А как встать на конец? я делаю так :

SelectAll;
x:=SelLength; SelLength:=0;
SelStart:=x;

но мне не нравится... может, подскажет кто?



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

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



Память: 0.45 MB
Время: 0.012 c
1-15049
Дмитрий К.К.
2002-12-23 08:16
2003.01.06
Баг в Delphi 5


14-15281
BlackTiger
2002-12-17 00:21
2003.01.06
Не про Дельфи, а про PHP, но может кто подскажет.


3-14968
Worder
2002-12-12 08:36
2003.01.06
Как программно создать System DSN для доступа к MSSQL2000?


14-15221
·•·€c€p·•·
2002-12-14 01:29
2003.01.06
Прога!


1-15082
Kostik001
2002-12-22 07:58
2003.01.06
ComboBox с рисунками и проблемами




   Наверх