|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
one field on a winforms, validate not firingI 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. Jeff,
I use the leave event if the validate event does not what I want. Cor Show quoteHide quote "Jeff Jarrell" <jjarrel_NOSPAM@yahoo.com> schreef in bericht news:%23U1DXR0GHHA.4588@TK2MSFTNGP05.phx.gbl... >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. > > > Ok, sounds good.
Thanks, jeff Show quoteHide quote "Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message news:usxFTN1GHHA.960@TK2MSFTNGP04.phx.gbl... > Jeff, > > I use the leave event if the validate event does not what I want. > > Cor > > "Jeff Jarrell" <jjarrel_NOSPAM@yahoo.com> schreef in bericht > news:%23U1DXR0GHHA.4588@TK2MSFTNGP05.phx.gbl... >>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. >> >> >> > > 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. ----------------------- Show quoteHide quote "Jeff Jarrell" <jjarrel_NOSPAM@yahoo.com> wrote in message news:%23U1DXR0GHHA.4588@TK2MSFTNGP05.phx.gbl... >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. > > >
destroying/releasing objects from memory?
Threading Delegate Question vbs to vb.net How to Insert field and value into another grid Error: The transport failed to connect to the server This code demonstrates a problem using a treeview twice Looking for suggestions on how to do something how 2 approximate 0.1 to be 1 slow form backimage load @ vb.net Newbie: Assigning values to an array |
|||||||||||||||||||||||