Textbox as logbook

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • N! Xau

    Textbox as logbook

    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.maxleng th 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


  • Cor Ligthert

    #2
    Re: Textbox as logbook

    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


    Comment

    • Herfried K. Wagner [MVP]

      #3
      Re: Textbox as logbook

      "N! Xau" <nxau@hotmail.c om> schrieb:[color=blue]
      > 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.maxleng th defaulted to 32767.
      > What problems do I run against increasing this limit?[/color]

      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.
      [color=blue]
      > 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?[/color]

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

      --
      M S Herfried K. Wagner
      M V P <URL:http://dotnet.mvps.org/>
      V B <URL:http://classicvb.org/petition/>

      Comment

      • N! Xau

        #4
        Re: Textbox as logbook

        Cor:
        [color=blue]
        > Because that this size limit is a bug[/color]

        What bug?


        THX
        N! Xau

        Comment

        Working...