is it possible to stop a text box from auto scrolling up when something is added to it?
what i do is txtbox = txtbox + newtext and it scrolls up, and then i have to scroll it back down with txtbox.SelStart=Len(txtbox). considering that i am logging data from the serial port into this text box...
is there any way to make the scrollbar automatically go to the bottom most position, other than something like txtBox.SelStart = Len(txtBox) every time i add new data? TIA
hi, this function gives an "overflow" error 6 at random times, and i have no idea why!! plz give me some ideas
Private Sub MSComm1_OnComm()
If FlStart = True Then 'Button "Start" pressed
If MSComm1.InBufferCount >= 1 Then 'Input buffer is not empty...
why is it that when i do this:
output = line.substr(line.find("V"),line.find("/")) + " ";
line.erase(0,line.find("//")+3);
output+=line;
on this line for example:
line = 27009V234288/27008G00000000/270008// 14 2707 08 234288 032022
i get this:
output...
I want to continuously write lines to a log file. I want to keep adding text to the file and not replacing the stuff i wrote before basically. how can i do it plz help, TIA.
I got a textbox, and i want it to auto resize as i change the size of the window. As it is now it stays the same size even when i maximize (the grey area just gets larger, which doesnt help at all!!) TIA!!
Hi. I got a prog which has 3 listboxes in a form and as it is right now when i click on an item from a different listbox then the one im in it will select the first item in the list and not the one i clicked on, which is what i want. (i.e: i click on the second item but always selects the first)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.