Jump to content

Bertelh

Members
  • Posts

    2
  • Joined

  • Last visited

Bertelh's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Right, that would be the standard solution (own GUI with editbox readonly or listbox nosel). I didn't give consideration to that because its too much effort (too many functions have to be modfied) and the risk to produce new errors is too high. Besides that I have a lot of interdependent GUIs and controls with some tricky solutions (it's too damageable). So there's no chance to add a scrollbar to splashtexton() ? Maybe I will have to implement an alternative: use of a private_controlsettext function (just some renames...) as a software layer between. Doing a "virtual" vertical scroll - remove the oldest (topmost) line; check the leftmost position of CRLF in the output string, do a stringright() with the rest -- and put it out. Or does anybody have another idea ?
  2. Hello, I have a major program with - one GUI (main program, main function buttons and some controls), fix hard size, - and a splashtext window (fix hard size 800 * 600). The main functions have their own child windows, input controls and messagebox outputs, and the splashtext window is used for outputs to the user (type of protocol), just to know what's going on (progress bars, function names, delay times etc.) - and for debugging purposes. Until now everthing is doing fine. But: it's a major project, some years old and I got it from a colleague. By now it has app. 8000 lines of code, app. 100 functions, and all of them are doing output to the splashtext window. Today the splashtext window is becoming too small (size ist fix) - not enough lines can be displayed (they vanish). Max string size of output (2 giga) is NEVER reached. Our standard code is like this: Is there an easy or simple way to get scrollbars into the splashtext window -- or a smart replacement for splashtext ? By now the window can do about 30 lines of text (every single output is added to the text string), we need about 50 lines (or more) as the program (and functions) is growing. The only thing I've found on the web was that (unanswered) topic from 2017: Thanks for some hints (and please apologize my English; I'm german with little practise).
×
×
  • Create New...