[DUG]: TEdit Selection

2001-07-22 Thread Wilfred Verkley

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/



Re: [DUG]: TEdit Selection

2001-07-22 Thread Paul Lowman

Wilfred

I have a little code implementing the inbuilt windows autocomplete feature.
If its of any interest let me know and I'll send it to you.

Paul Lowman

Lowman Consulting Ltd.
Embedded Systems  Software

[EMAIL PROTECTED]

---
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/



RE: [DUG]: TEdit Selection

2001-07-22 Thread Luke Pascoe

Does that offer extend to other interested parties? (Kin'I'va look too?)


 Luke Pascoe  Delphi Programmer
 enSynergy Consulting LTD

 [EMAIL PROTECTED]  +64-9-3551593  fax +64-9-3551590
 Level 4,   10-12 Federal St,   Auckland,   New Zealand
 PO Box 32521,  Devonport,  Auckland 1330,  New Zealand

== I.H.T.F.P. ==


 -Original Message-
 From: Paul Lowman [mailto:[EMAIL PROTECTED]]
 Sent: Monday, 23 July 2001 12:21 p.m.
 To: Multiple recipients of list delphi
 Subject: Re: [DUG]: TEdit Selection
 
 
 Wilfred
 
 I have a little code implementing the inbuilt windows 
 autocomplete feature.
 If its of any interest let me know and I'll send it to you.
 
 Paul Lowman
 
 Lowman Consulting Ltd.
 Embedded Systems  Software
 
 [EMAIL PROTECTED]
 
 --
 -
 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/
 
---
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/