Dirty??

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Can someone please explain "Dirty". What, how, and when to use. Thank you.
 
Can someone please explain "Dirty". What, how, and when to use. Thank you.

as far as i can tell, the Dirty event occurs when something on the
form changes. visually speaking, lets say you have a form with a tab
control, some text fields, and a combo box. if you "dirty" the form,
either by changing the contents of a text field or the text portion of
a combo box (either from nothing to something, or if it had a default
value, from something to something else), or if you change pages by
clicking a different tab, then the "Dirty" event is set. if you want
to be more specific, you can use the "OnDirty" property for the
control that you want, where available.

never really got around to using this though. maybe can be used to
check to see if a form has been completed correctly, before the user
moves on to another tab?
 
Thank you very much.


as far as i can tell, the Dirty event occurs when something on the
form changes. visually speaking, lets say you have a form with a tab
control, some text fields, and a combo box. if you "dirty" the form,
either by changing the contents of a text field or the text portion of
a combo box (either from nothing to something, or if it had a default
value, from something to something else), or if you change pages by
clicking a different tab, then the "Dirty" event is set. if you want
to be more specific, you can use the "OnDirty" property for the
control that you want, where available.

never really got around to using this though. maybe can be used to
check to see if a form has been completed correctly, before the user
moves on to another tab?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top