![]() |
Cursor im Memofeld!
Hallo,
wie kann ich den Cursor in einem Memofeld auf die Position 1 setzten? |
Re: Cursor im Memofeld!
|
Re: Cursor im Memofeld!
Hallo gerritlober,
sieh mal in der OH unter TCustomMemo.SelStart nach. |
Re: Cursor im Memofeld!
Hi!
Meinst du so:
Delphi-Quellcode:
Ciao fkerber
procedure TForm1.Button1Click(Sender: TObject);
begin Memo1.Selstart:=0; Memo1.SetFocus; end; |
Re: Cursor im Memofeld!
So geht's auch ;)
Delphi-Quellcode:
Memo1.CaretPos := Point(0,0);
Memo1.SetFocus; |
Alle Zeitangaben in WEZ +1. Es ist jetzt 04:18 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz