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

Переход на строку   Найти похожие ветки 

← →
Nemas ©   (2003-02-07 17:31) [0]

Как в TMemo можно перейти на любую строку?


← →
Song ©   (2003-02-07 20:34) [1]

TMemo.SelStart


← →
Ich Hasse ©   (2003-02-07 23:37) [2]

что ты подразумеваешь под словом перейти?


← →
dim- ©   (2003-02-07 23:45) [3]

Попробуй так:

Procedure setline(WhichEdit:TRichedit;Linepos,charpos:integer);
Begin
with WhichEdit do
begin
selstart:=perform(EM_LineIndex,Linepos,0)+charpos;
perform(EM_ScrollCaret,0,0);
end;
end;

procedure TTxtEdit.SpeedButton1Click(Sender: TObject);
var s:string;
begin
s:=inttostr(RxRichEdit1.CaretPos.y);
if inputQuery("Input Box", "Prompt", s) then Begin
RxRichEdit1. SetFocus;
setline(RxRichEdit1,strtoint(s),0);
end
end;



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

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



Память: 0.45 MB
Время: 0.011 c
3-52762
Grey
2003-01-30 19:40
2003.02.17
Дублирование значений полей в DBGrid


14-53284
Брамбулет
2003-02-02 11:27
2003.02.17
Сторонние компоненты


14-53228
Феликс
2003-01-29 14:49
2003.02.17
Секс в большом городе


1-52873
FTNSoft
2003-02-05 19:01
2003.02.17
qtintf70.dll


1-52993
Dr. Web
2003-02-10 14:43
2003.02.17
Как програмно запустить любую программу под другим пользером?




   Наверх