Hi,
In the past, I was using a MFC CEdit control to display logged data (A lot
of Data). The control seems to have virtually no limit.
Now, I'm using a .Net TextBox. When I reach about 32768 characters it
doesn't take any more data.
How can I change this.
Thanks,
Hugo
AlexS - 06 Aug 2007 16:03 GMT
By default you have TextLength set to this value.
If you set it to 0, you can use longer strings:
MSDN: "When this property is set to zero, the maximum length of the text
that can be entered in the control is limited only by available memory"
> Hi,
>
[quoted text clipped - 9 lines]
>
> Hugo
H.B. - 06 Aug 2007 18:24 GMT
MaxLength is for input by the Keyboard. When software fills the TextBox, it
doesn't care about this value.
I tested filling my log window (TextBox) with MaxLength set to 0, 100 and
65535. The result was identical for all : impossible to put more than 32767
char in the TextBox.
> By default you have TextLength set to this value.
>
[quoted text clipped - 16 lines]
> >
> > Hugo
AlexS - 06 Aug 2007 16:09 GMT
Oops, property is MaxLength
"AlexS" <salexru2000NO@SPAMrogers.comPLEASE> wrote in message news:...
> By default you have TextLength set to this value.
>
[quoted text clipped - 17 lines]
>>
>> Hugo