Search found 8 matches

by graves
Fri Mar 01, 2013 8:49 am
Forum: Windows PowerShell
Topic: Auto tab to next text box after user scans barcode
Replies: 6
Views: 9134

Auto tab to next text box after user scans barcode

jvierra - This is great information. Thank you. I got everything working almost the way I wanted. I configured the scanner suffix with the ascii horiz tab code and used $txtBoxA.Text.EndsWith("`t") to reposition the focus. For multiple scans I just split the tabs to store each item in to an array fo...
by graves
Thu Feb 28, 2013 6:40 am
Forum: Windows PowerShell
Topic: Auto tab to next text box after user scans barcode
Replies: 6
Views: 9134

Auto tab to next text box after user scans barcode

Ahh.. I had not considered that. Although programming the scanner to enter a carriage return or tab did not work to change the focus, I ended up configuring it to add a space to everything scanned and use $txtBoxA.Text.EndsWith(" ") to execute the $txtBoxB.Focus() method. I'll just have to trim the ...
by graves
Thu Feb 28, 2013 1:29 am
Forum: Windows PowerShell
Topic: Auto tab to next text box after user scans barcode
Replies: 6
Views: 9134

Auto tab to next text box after user scans barcode

Greetings everyone, I'm trying to find a solution to a problem that I originally started in the Primal Forms forum. I was recommended to move the topic here. I have provided the link to the original discussion but I will summarize below. viewtopic.php?f=13&t=6432 I have a small form with three text ...
by graves
Wed Feb 27, 2013 9:18 am
Forum: PrimalForms
Topic: Auto-Tab to next text box after input
Replies: 8
Views: 14673

Auto-Tab to next text box after input

Seems I might be missing something very basic here. I would like to simply focus the control after the user scans the data but I don't know how without using a TextChanged event on the control and if the length of the string is not consistent then TextChanged does me no good. The process should go l...
by graves
Wed Feb 27, 2013 6:32 am
Forum: PrimalForms
Topic: Auto-Tab to next text box after input
Replies: 8
Views: 14673

Auto-Tab to next text box after input

Thanks for your reply but the only problem with that is the user may or may not be near a keyboard as they are using a wireless handheld scanner and are often not near the workstation.

I really hope I don't have to abandon this layout for my previous one.

Thanks,
Jason
by graves
Wed Feb 27, 2013 5:03 am
Forum: PrimalForms
Topic: Auto-Tab to next text box after input
Replies: 8
Views: 14673

Auto-Tab to next text box after input

One question though - what if I don't know the length of the field? The problem I'm running up against is obviously if $txtBoxA.Text.Length is greater than 7, the cursor is jumping to the next field after 7 characters are entered. This field is used to collect hard drive serial numbers and the lengt...
by graves
Tue Feb 26, 2013 8:14 am
Forum: PrimalForms
Topic: Auto-Tab to next text box after input
Replies: 8
Views: 14673

Auto-Tab to next text box after input

Thanks, Alexander! Works perfectly.

$txtBoxA
$txtBoxB

$handler_txtBoxA_TextChanged=
{
if ($txtBoxA.Text.Length -ge 7)
{
$txtBoxB.Focus()
}
}
by graves
Tue Feb 26, 2013 5:23 am
Forum: PrimalForms
Topic: Auto-Tab to next text box after input
Replies: 8
Views: 14673

Auto-Tab to next text box after input

Hello, I want to build a small form used to collect three barcodes from a handheld scanner to three separate fields. Is there any way to auto-tab to the next field after scanning a barcode so the user doesn't have to manually tab to the next field before scanning again? In the mean time I designed i...