-
TextBox performance
Hello
I created a quick notepad-like application in vb .NET but when I resize it it's so much slower than notepad (when having the same quantities of text)
I know that in vb.NET the textbox control is better than vb 6 (i.e. it can support up to 2 Gb of text). But is it slower? Or I did some mistake somewhere that makes resizing slow?
The thing is that I wrote almost no code, like 3 lines. The rest is all set up from the IDE's properties window.
THanks for your time!
Andre
-
hmm HOW is it slower? and when? when you put a large amount of text?
:confused:
-
I have 2-3 pages of text in notepad and same amount in my app. I resize my app and it lags considerably (as it's being resized, it's not as smooth as notepad).
Still weird problem..
-
hmm what are you exactly doing?
I opened notepad and copied aobut 2 pages of text in it. As I resize it, it flickers alot.
I made a winapp project and I added a textbox and I changed the ANCHOR so that it would resize automatically with the form. It works much better than notepad, I think
did you actually write any code for resizing the textbox? are you using the anchor property?
-
You are right performance is ok now that I have set anchoring to all the four directoins and docking to NUll. Befoe docking was tu full screen that's what made it slow.
Thanks for your time.
-
np, I didnt even know how to help, it just happened to help you:D:D
I dont like docking anyways. It's kinda annoying, hehe