Another approach would be to use the _Changed event on for the object. When it is triggered, check what the last character in the field is. > > >Has anyone found the answer on how to trap for a CR from the Key Preview >function? > >I can see any Alph or Num keys but am having trouble trapping the CR or >LF keys. > >I have turned on the textbox multiline so it will respond to the cr but >I cannot trap it out. When I use a barcode scanner I need to decode the >input string and place that data into one of several textboxes depending >on it's value. > >I know others have done this but cannot find any examples. > > > >------------------------------------ > >Yahoo! Groups Links > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
