Re: isDirty



Hi

You could use the TextChanged Event, add an eventhandler and you get all changes in the textbox.


"Arne Garvander" <ArneGarvander@xxxxxxxxxxxxxxxxxxxxxxxxx> skrev i meddelandet news:6DAE3C12-7990-4449-BBF4-29F825023BAF@xxxxxxxxxxxxxxxx
I use the text to preset a default value, so that idea does not work for me.
There is a modified property that I can use, but it is not reliable.

--
Arne Garvander
Certified Geek
Professional Data Dude


"Scott M." wrote:

Yes, the text property. If it's not equal to an empty string (<> "") it has
data in it. Or you can look at the length property to see if it has a
length of zero (indicating it's empty).

-Scott


"Arne Garvander" <ArneGarvander@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:57127D7A-432A-4444-A517-DBFC556C5A72@xxxxxxxxxxxxxxxx
> Does a windows textbox have a property that tells if the user has > entered
> anything into a textbox on a windows.
> -- > Arne Garvander
> Certified Geek
> Professional Data Dude




.



Relevant Pages

  • Re: isDirty
    ... Arne Garvander ... Professional Data Dude ... There is a modified property that I can use, ... anything into a textbox on a windows. ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: how to lock a textbox
    ... want it read-only - locked similar to a windows textbox. ... gray look that disabling it does. ... Or just make a CSS class and have a label that *looks* like a textbox. ...
    (microsoft.public.dotnet.framework.aspnet)

Loading