|
-
Nov 14th, 2002, 01:43 PM
#1
Thread Starter
New Member
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
First they ignore you, then they laugh at you, then they fight you, finally you win. --Gandhi
-
Nov 14th, 2002, 03:23 PM
#2
hmm HOW is it slower? and when? when you put a large amount of text?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Nov 14th, 2002, 03:54 PM
#3
Thread Starter
New Member
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..
First they ignore you, then they laugh at you, then they fight you, finally you win. --Gandhi
-
Nov 14th, 2002, 08:31 PM
#4
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?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Nov 14th, 2002, 09:36 PM
#5
Thread Starter
New Member
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.
First they ignore you, then they laugh at you, then they fight you, finally you win. --Gandhi
-
Nov 14th, 2002, 10:23 PM
#6
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|