|
-
Nov 10th, 2001, 02:40 AM
#1
Thread Starter
Frenzied Member
Stop TextBox Update
I have heard there is a way to stop a text box from updating, in order to speed up code for instance if you concatenate the textbox.text in a loop. Could anyone tell me how? I dont think theres an update property or anything...
You just proved that sig advertisements work.
-
Nov 10th, 2001, 03:36 AM
#2
Well ...
You can use a String variable to concat the text and then assign it to a textbox. 
.
-
Nov 10th, 2001, 11:20 AM
#3
Thread Starter
Frenzied Member
I suppose, but isnt the text in the textbox also stored in a standard string variable? All i need is to shut off its update for a while. Is that possible?
You just proved that sig advertisements work.
-
Nov 11th, 2001, 09:59 PM
#4
Well ...
Originally posted by nishantp
I suppose, but isnt the text in the textbox also stored in a standard string variable? All i need is to shut off its update for a while. Is that possible?
I don't think it's possible, with the Text property of the control. You see, the property change event gets fired everytime, which is invisible to you and me. So, you can't CancelUpdate, like you would do in case the control was bound to something.
.
-
Nov 11th, 2001, 10:03 PM
#5
PowerPoster
You could just change the .Locked property of the textbox to prevent updates for awhile.
-----------------------------------------
-RJ
[email protected]
-----------------------------------------
-
Nov 11th, 2001, 10:08 PM
#6
Well ...
That would only work for user-input.
.
-
Nov 11th, 2001, 10:12 PM
#7
PowerPoster
Yeah, well I figured that was all he was trying to prevent. If he is trying to stop some of his own code from going into the textbox, that should hardly be a problem he needs to ask help on, he just wouldn't do it...
So, what is the problem then? Is a locked change sufficient nishantp?
-----------------------------------------
-RJ
[email protected]
-----------------------------------------
-
Nov 11th, 2001, 10:23 PM
#8
Addicted Member
what do wanna achieve pal ???
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
|