there is some limitation on the length of the information in a control edit
Moderator: Rathinagiri
there is some limitation on the length of the information in a control edit
El control edit tiene alguna limitante al cargar una informacion
Tengo un campo memo con mas de 6000 caracteres, al cargarlo en una variable toma todos, pero cuando trato de agregarlos a un control edit, solo me carga unos 4500, pero si despues de cargarlos , sigo insertanto caracteres y lineas manualmente , lo hace, pero nunca me carga la primera informacion
saludos
google translation
there is some limitation on the length of the information in a control edit
I have at least 6000 characters in a memo field, when I read it I can load all in one variable, but when I pass them to the edit control, I only load about 4500, if after filling it, I can continue adding characters and lines, but I never load all directly from the variable.
Tengo un campo memo con mas de 6000 caracteres, al cargarlo en una variable toma todos, pero cuando trato de agregarlos a un control edit, solo me carga unos 4500, pero si despues de cargarlos , sigo insertanto caracteres y lineas manualmente , lo hace, pero nunca me carga la primera informacion
saludos
google translation
there is some limitation on the length of the information in a control edit
I have at least 6000 characters in a memo field, when I read it I can load all in one variable, but when I pass them to the edit control, I only load about 4500, if after filling it, I can continue adding characters and lines, but I never load all directly from the variable.
-
- Posts: 682
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: there is some limitation on the length of the information in a control edit
Hi Martingz:
Just put on EDITBOX definition: MAXLENGHT 0 (zero)
Regards
Eduardo
Just put on EDITBOX definition: MAXLENGHT 0 (zero)
Regards
Eduardo
Re: there is some limitation on the length of the information in a control edit
Eduardo i use MAXLENGHT 0 (zero) , as default
its very strange , i cant continue insert characters , but no load all memo info
saludos
its very strange , i cant continue insert characters , but no load all memo info
saludos
-
- Posts: 682
- Joined: Tue Jun 04, 2013 6:33 pm
- Location: Argentina
Re: there is some limitation on the length of the information in a control edit
Hola Martin:
Proba con -1.-
Recuerdo haber leido algo que sobre el tema había señalado Dr. Claudio Soto.-
Yo no tengo problemas al usar 0.-
De hecho, hice una rutina que carga textos de gran longitud (150000 caracteres).-
No tengo aqui un sample que creo que escribio el maestro Esgici, se llamaba memolst
Lo busco el fin de semana en casa, y lo subo.-
Abrazo
Eduardo
Proba con -1.-
Recuerdo haber leido algo que sobre el tema había señalado Dr. Claudio Soto.-
Yo no tengo problemas al usar 0.-
De hecho, hice una rutina que carga textos de gran longitud (150000 caracteres).-
No tengo aqui un sample que creo que escribio el maestro Esgici, se llamaba memolst
Lo busco el fin de semana en casa, y lo subo.-
Abrazo
Eduardo
Re: there is some limitation on the length of the information in a control edit
Hola Martin
Yo lo utilizo así y me funciona...
Yo lo utilizo así y me funciona...
Code: Select all
*----------------------------------------------------------------------------------- EDITBOX INFO
nColEDB := Form_1.Width / 2 ; nRenEDB := Form_1.height / 2
@ nRenEDB , -18 EDITBOX EDB_01 WIDTH 560 HEIGHT nRenEDB - 25 VALUE "" FONT 'Consolas' SIZE 9 FONTCOLOR BEIGE BACKCOLOR { 000, 023, 052 } ;
NOHSCROLL ; // NOVSCROLL
MAXLENGTH 60000 NOTABSTOP TOOLTIP "Pizarrón" ON GOTFOCUS MuestBot( .T. ) ON LOSTFOCUS MuestBot( .F. ) //
*----------------------------------------------------------------------------------------------
@ nRenEDB - 20 , 002 LABEL BTN_EDB1 OF Form_1 VALUE "Fecha" WIDTH 50 HEIGHT 15 FONT "Verdana" SIZE 7 ;
ACTION ( Form_1.EDB_01.Value := Form_1.EDB_01.Value + CRLF + FechTex( DATE(), 2 ) ) ;
TOOLTIP "Inserta Fecha y Hora"
Andrés González López
Desde Guadalajara, Jalisco. México.
Desde Guadalajara, Jalisco. México.
Re: there is some limitation on the length of the information in a control edit
Andy Eduardo misl disculpas por contestar tan tarde, me olvide el fin de semana de este problema para regresar con la mente mas rspejada, probare sus
consejos y veremos que pasa
saludos y mil gracias
consejos y veremos que pasa
saludos y mil gracias
Re: there is some limitation on the length of the information in a control edit
Mil disculpas , el control edit esta bien, era problema del campo memo
Google Translation
A thousand apologies for the subject, it is not control problem, there was error in the memo field
Google Translation
A thousand apologies for the subject, it is not control problem, there was error in the memo field
- serge_girard
- Posts: 3163
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: there is some limitation on the length of the information in a control edit
Hello,
I encounter problems with MAXLENGTH 0 (it doesn't work!) .
My max length always stops at 8000 chars. I cannot force to unlimited !
How to change?
Serge
I encounter problems with MAXLENGTH 0 (it doesn't work!) .
My max length always stops at 8000 chars. I cannot force to unlimited !
How to change?
Serge
There's nothing you can do that can't be done...
- AUGE_OHR
- Posts: 2060
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: there is some limitation on the length of the information in a control edit
hi,
i can load c:\harbour\ChangeLog.txt which is > 9 MB Size ...
---
https://docs.microsoft.com/en-us/window ... -limittext
i can load c:\harbour\ChangeLog.txt which is > 9 MB Size ...
---
https://docs.microsoft.com/en-us/window ... -limittext
Before EM_LIMITTEXT is called, the default limit for the amount of text a user can enter in an edit control is 32,767 characters.
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 byte or the value of the wParam parameter, whichever is smaller.
have fun
Jimmy
Jimmy
- serge_girard
- Posts: 3163
- Joined: Sun Nov 25, 2012 2:44 pm
- DBs Used: 1 MySQL - MariaDB
2 DBF - Location: Belgium
- Contact:
Re: there is some limitation on the length of the information in a control edit
Can you paste a block of text >8000char into a textbox?
In my application it is truncated at exactly 8000 chars!
Please try Jimmy!
Serge
In my application it is truncated at exactly 8000 chars!
Please try Jimmy!
Serge
There's nothing you can do that can't be done...