Friday, November 16, 2012

How to make sure Text Box always focus - Use full for USB Barcode Scanner Text Box

To do this is easy if you know. Haha ha
No need to write complicate coding just enough to declare like below :

this.ActiveControl = txtBarcode;

private void txtBarcode_Leave(object sender, EventArgs e)
{
        txtBarcode.Focus();
}

Cheers!

No comments: