Hi,
I have a Form with a number of fields.   The purpose of the form is to capture 
barcodes (via a barcode scanner), display some pertinent information, and then 
allow the user to place an order for the given barcode.

The application is working correctly, but there are a few problems with 
usability.

1)  How do I process the ENTER key/Line feed.  Let me explain.   I can 
configure the barcode scanner to issue a line feed after a barcode is properly 
read.   However, this doesn't seem to trigger a move to the next textbox 
control.  I placed the code to lookup the barcode and display the information 
on the "LostFocus" event for the barcode.

Right now to trigger the "lostfocus" event for the barcode, I have to click 
somewhere on the Form.   Otherwise it will just stay there.

Probably I'm missing something simple on how to process the LineFeed.  


2)  I have a small glitch also on the code to close the form.  The way this 
works right now is that if no barcode is entered, and the user presses the OK 
button, the form will just close.  This works fine...   However, if the user 
enters a non-existant barcode, a warning MsgBox appears.  The barcode is then 
cleared to allow entering a new barcode.   If the user presses the OK button at 
this time, the Form should close since no barcode was entered....  HOWEVER, the 
FORM is not closed.   I only get focus transfered to the OK button... I have to 
press OK a second time for it to close the form.    

It is really weird.   In both cases, the barcode textbox's LostFocus triggers.  
But in the second case the Click event on the OK button does not trigger...  It 
is as if the CLICK event was being cleared somehow.

Has anyone experienced something like that?  

Thanks,
Edgard



-- 
You received this message because you are subscribed to the Google Groups 
"nsb-ce" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nsb-ce?hl=en.

Reply via email to