PC Review


Reply
Thread Tools Rate Thread

Allowing overwrite in a WinForm TextBox?

 
 
HyperX
Guest
Posts: n/a
 
      13th Aug 2003
Hello,

I'm not able to figure out why WinForm doesn't come with an option like

TextBox.AllowOverwrite = true.

The user wants to be able to overwrite the text (as in INSERT mode) in the text box.

How do I accomplish this?

Regards.

HyperX.
 
Reply With Quote
 
 
 
 
ClayB [Syncfusion]
Guest
Posts: n/a
 
      13th Aug 2003
Here is one way you could do it.

George Shepherd's Windows Forms FAQ contains an entry entitled:

How can I place a TextBox in overwrite mode instead of insert mode?

Check it out at:
http://www.syncfusion.com/faq/winforms/search/829.asp

=============================================
Clay Burch, .NET MVP

Syncfusion, Inc.
visit http://www.syncfusion.com for .NET Essentials


"HyperX" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,
>
> I'm not able to figure out why WinForm doesn't come with an option like
>
> TextBox.AllowOverwrite = true.
>
> The user wants to be able to overwrite the text (as in INSERT mode) in the

text box.
>
> How do I accomplish this?
>
> Regards.
>
> HyperX.



 
Reply With Quote
 
Hyper X
Guest
Posts: n/a
 
      14th Aug 2003
Thank you!

That solved the problem!

-------> The next statement is true. The previous statement is false.
<--------

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Allowing xlBook.SaveAs in Access code to overwrite existing workbook? Ed from AZ Microsoft Excel Programming 2 26th Jan 2008 08:16 PM
C# winform masked textbox james.czebiniak@pearlcarroll.cm Microsoft C# .NET 2 24th Jul 2007 04:51 PM
C# winform masked textbox james.czebiniak@pearlcarroll.cm Microsoft C# .NET 0 24th Jul 2007 03:05 PM
How check if key pressed in any textbox on winform Woody Splawn Microsoft VB .NET 4 10th Sep 2004 07:57 PM
F2 (Refresh) stops allowing me to overwrite after the second character dep397 Microsoft Excel Discussion 4 17th Mar 2004 03:38 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:17 AM.