limite textbox

20/10/2004 - 18:41 por Racsus | Informe spam
Hola

cuantos caracteres caben en un textbox? tiene limite?

saludos. Oscar

Preguntas similare

Leer las respuestas

#1 Erick
20/10/2004 - 18:53 | Informe spam
Pues yo le movi a la propiedad MaxLength y el numero mas alto fue 999,999,999

Espero y te sirva. :D.
"Racsus" wrote:

Hola

cuantos caracteres caben en un textbox? tiene limite?

saludos. Oscar

Respuesta Responder a este mensaje
#2 Eduardo A. Morcillo [MS MVP VB]
20/10/2004 - 18:57 | Informe spam
cuantos caracteres caben en un textbox?



Depende del limite que le pongas ;)

tiene limite?



Si, y esta dado por el sistema operativo.

De la documentacion de EM_SETLIMITTEXT:

"Edit controls on Windows NT/2000/XP: For single-line edit controls, the
text limit is either 0x7FFFFFFE bytes or the value of the wParam parameter,
whichever is smaller. For multiline edit controls, this value is either -1
bytes or the value of the wParam parameter, whichever is smaller.

Edit controls on Windows 95/98/Me: For single-line edit controls, the text
limit is either 0x7FFE bytes or the value of the wParam parameter, whichever
is smaller. For multiline edit controls, this value is either 0xFFFF bytes
or the value of the wParam parameter, whichever is smaller."

Eduardo A. Morcillo [MS MVP VB]
http://www.mvps.org/emorcillo
Respuesta Responder a este mensaje
#3 Guillermo guille
21/10/2004 - 02:15 | Informe spam
Como te comenta Eduardo, aproximadamente 64 KB, si necesitas más, tendrás que
usar un RichTextBox.

Nos vemos.
Guillermo
Microsoft VB MVP desde 1997
Te invito a mi sitio dedicado al VB y más...
http://www.elguille.info/
http://www.mundoprogramacion.com/
(puede que el correo usado sea anti-spam)


"Racsus" wrote in message
news:008a01c4b6c3$aeab33f0$
Hola

cuantos caracteres caben en un textbox? tiene limite?

saludos. Oscar
email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaRespuesta Tengo una respuesta
Search Busqueda sugerida