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

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

Наверх




Память: 0.47 MB
Время: 0.011 c
1-15067
Ranikin
2002-12-25 11:38
2003.01.06
ActionList - программное изменение картинки


14-15230
Jeer
2002-12-15 22:05
2003.01.06
???


1-15096
Napoleonn
2002-12-22 14:37
2003.01.06
Вопрос по twebbrowser. Подскажите, пожалуйста!


4-15360
Iam
2002-11-19 11:38
2003.01.06
Получение текста любого окна...


3-14964
Лесник
2002-12-15 00:01
2003.01.06
Кak cоздать БД M$ Access в рантайме