Textbox as logbook

  • Thread starter Thread starter N! Xau
  • Start date Start date
N

N! Xau

Hi,

I am using a textbox to display, row by row, results of
Database-related operation.

One, is this a valid method or not?
Two, I see textbox.maxlength defaulted to 32767.
What problems do I run against increasing this limit?

Three: Information to be displayed can easily over pass the limit.
Is there a way to organize the info in a FIFO way, deleting the oldest
rows?

thanks
N! Xau

Keep in Mind the power of ANTANI
http://ilovemiliofede.altervista.org
 
N,

Because that this size limit is a bug it is maybe in the next version not
true, however for the time being you can use the richtextbox.

I hope this helps,

Cor
 
N! Xau said:
I am using a textbox to display, row by row, results of
Database-related operation.

One, is this a valid method or not?
Two, I see textbox.maxlength defaulted to 32767.
What problems do I run against increasing this limit?

This limit doesn't exist, at least not on non-Windows 98 systems.
'AppendText' is flawed and limited in length due to a bug, but you can
assign longer strings to a textbox' 'Text' property.
Three: Information to be displayed can easily over pass the limit.
Is there a way to organize the info in a FIFO way, deleting the oldest
rows?

Maybe it's more user-friendly to use a listview control in details mode to
show the log information.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top