PC Review


Reply
Thread Tools Rate Thread

Property Grid on a WinForm textchanged event on property input

 
 
heikekrieg
Guest
Posts: n/a
 
      20th Oct 2003
Hi all,

i have the following situation:
My person class is viewed on a WinForm in a PropertyGrid.
Now i can edit the properties and validate them after the property has
changed(or the focus of the event input area is lost).

But if i have a number i dont want to let the user write any signs
that are not numbers. I want it handle like a textbox where i can
prevent the user by typing non numbers.

How can i do such a validation? There must be a textchanged event or
so?

Thx to all
 
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
Why is a button Click event also called when a textbox TextChanged event is called??? S_K Microsoft ASP .NET 6 8th Nov 2007 08:44 PM
Opening a winform from property grid John Microsoft C# .NET 1 10th Apr 2006 08:30 PM
Textchanged's event start before the button click's event ? moi Microsoft ASP .NET 0 15th Mar 2006 06:28 AM
Button.Init? how Do I know if click event has been fired? TextBox.TextChanged event before Button.Click in a CompositeCustomControl. jorge Microsoft ASP .NET 2 26th May 2004 12:45 AM
comboBox TextChanged event fires twice because Items.Insert() fires the event too... Rob Hindman Microsoft Dot NET Framework Forms 2 25th Aug 2003 07:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:26 AM.