Re: one field on a winforms, validate not firing
- From: "RobinS" <RobinS@xxxxxxxxxxxxxxx>
- Date: Fri, 8 Dec 2006 23:19:41 -0800
The validate event doesn't fire unless you leave the textbox,
like if you tab out of it. In my update forms, when they hit
Save, I invoke the validate event myself me.Validate() in
case they have changed the textbox they are sitting in and
didn't tab out of it.
Hope this helps.
Robin S.
-----------------------
"Jeff Jarrell" <jjarrel_NOSPAM@xxxxxxxxx> wrote in message
news:%23U1DXR0GHHA.4588@xxxxxxxxxxxxxxxxxxxxxxx
I have one textbox on a form. Nothing else. The validate event doesn't
fire. Drop another textbox on the form and the validate event fires. Set
tabstop = false on the 2nd text box and the validate event on textbox1
doesn't fire again.
I now it sounds silly with only one tab stop but it is for a barcode
scanner. scan, scan, scan, esc. Thats it.
help... I need a work around.
.
- References:
- one field on a winforms, validate not firing
- From: Jeff Jarrell
- one field on a winforms, validate not firing
- Prev by Date: Re: simple question
- Next by Date: Need some help...
- Previous by thread: Re: one field on a winforms, validate not firing
- Next by thread: Why I am sick of .Net
- Index(es):
Relevant Pages
|