Set Focus Elements

Hi everyone, is there a way to set a focus in the element that I want, for example to use barcode reading ?