In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Positioning cursor in TRichEdit

Xailer professional forum in English
Responder
Maarten Roos
Mensajes: 126
Registrado: Lun Mar 29, 2010 10:24 am

Positioning cursor in TRichEdit

Mensaje por Maarten Roos »

Forget it... found it already!
Pedro Gil
Mensajes: 121
Registrado: Lun Ene 15, 2007 7:46 pm

Positioning cursor in TRichEdit

Mensaje por Pedro Gil »

Maarten,
You can use the method: SetPos( nPos )
SetPos( 0 ) -> top
SetPos( -1 ) -> bottom
Regards,
"Maarten Roos" escribió en el mensaje de
noticias:4d132d73$[email=1@svctag-j7w3v3j....]1@svctag-j7w3v3j....[/email]
I am playing with the replaceall and I want to do some
replaceall commands in a row, so I need to reposition the
cursor to the top after each replaceall. Cannot find the
command to do so? Can I replicate a Ctrl+Home command?
Responder