Ver Mensaje Individual
  #2 (permalink)  
Antiguo 18/10/2007, 05:23
Insomnia
 
Fecha de Ingreso: noviembre-2005
Mensajes: 751
Antigüedad: 18 años, 6 meses
Puntos: 13
Re: Seleccionar todo el contenido de un texbox

Hola

Utiliza el siguiente código, si quieres hacerlo desde un botón primero hay que pasar el foco al textbox.

Código:
Text1.SetFocus
Text1.SelStart = 0
Text1.SelLength = Len(Text1.Text)
--Saludos--