Delphi Barcode Scanning - enter into a readonly editbox

674 Views Asked by At

Delphi 10.3. I want to detect the entering of a bar code scanning into a editbox (TEdit or TcxEdit). I think of the onChange or onEditValueChange, so need to make the editbox readonly. I don't want to fire this event everytime I type in the digit (the barcode has 20 digits). The barcode scanner will be plug into the USB port, my question is if the editbox is readonly, when the cursor within the editbox can the barcode fill in the editbox when I scan the barcode?

0

There are 0 best solutions below