Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-01

TCustomEdit problem

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jesus Reyes

Hi, It seems that TCustomEdit is not reporting cursor position with .SelStart/.SelLength. Only when One
clicks between characters and then move the cursor .SelStart returns a correct value but after that
always continue to return 0.

_________________________________________________________ Do You Yahoo!?
La mejor conexi�n a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx

Reply by email

Mattias Gaertner
to Jesus Reyes
Show quoted text 5 lines
Hi, It seems that TCustomEdit is not reporting cursor position with .SelStart/.SelLength. Only when One clicks between characters and then move the cursor .SelStart returns a correct value but after that always continue to return 0.

SelStart should now show the cursor position, even if nothing is selected.

Mattias

Reply by email