Im trying to write some simple "IntelliSense" like functionality into my
TEdit control.  However, im having a little trouble fine-tuning the TEdit
text selection.  How do I select a block of text and then place the text
cursor at the beginning without effecting the current selection?

The code below doesnt work,

edtName.SelStart := i;
edtName.SelLength := length (edtName.text) - i;
edtName.SelStart := i;


Cheers,

Wilfred.

This e-mail message has been scanned and cleared by MailMarshal 
http://www.gen-i.co.nz
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to