Главная страница
    Top.Mail.Ru    Яндекс.Метрика
Форум: "Основная";
Текущий архив: 2003.01.06;
Скачать: [xml.tar.bz2];

Вниз

проблемы с 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;
Скачать: [xml.tar.bz2];

Наверх





Память: 0.44 MB
Время: 0.008 c
14-15241
Delirium
2002-12-15 14:37
2003.01.06
Microsoft собирается купить Borland целиком !


8-15163
Pavel_s
2002-09-19 09:08
2003.01.06
TImage


14-15305
Карелин Артем
2002-12-18 11:52
2003.01.06
Хороший стиль.


1-14997
Nikolai_S
2002-12-16 16:30
2003.01.06
Как проверить является ли имя файла допустимым?


1-15014
Кирилл
2002-12-16 13:28
2003.01.06
Как получить колличество точек на дюйм для экрана и принтера





Afrikaans Albanian Arabic Armenian Azerbaijani Basque Belarusian Bulgarian Catalan Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Estonian Filipino Finnish French
Galician Georgian German Greek Haitian Creole Hebrew Hindi Hungarian Icelandic Indonesian Irish Italian Japanese Korean Latvian Lithuanian Macedonian Malay Maltese Norwegian
Persian Polish Portuguese Romanian Russian Serbian Slovak Slovenian Spanish Swahili Swedish Thai Turkish Ukrainian Urdu Vietnamese Welsh Yiddish Bengali Bosnian
Cebuano Esperanto Gujarati Hausa Hmong Igbo Javanese Kannada Khmer Lao Latin Maori Marathi Mongolian Nepali Punjabi Somali Tamil Telugu Yoruba
Zulu
Английский Французский Немецкий Итальянский Португальский Русский Испанский