Search found 8 matches
- Fri Mar 01, 2013 7:49 am
- Forum: PowerShell
- Topic: Auto tab to next text box after user scans barcode
- Replies: 6
- Views: 15329
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 a...
- Thu Feb 28, 2013 5:40 am
- Forum: PowerShell
- Topic: Auto tab to next text box after user scans barcode
- Replies: 6
- Views: 15329
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...
- Thu Feb 28, 2013 12:29 am
- Forum: PowerShell
- Topic: Auto tab to next text box after user scans barcode
- Replies: 6
- Views: 15329
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 t...
- Wed Feb 27, 2013 8:18 am
- Forum: PrimalForms
- Topic: Auto-Tab to next text box after input
- Replies: 8
- Views: 31383
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...
- Wed Feb 27, 2013 5:32 am
- Forum: PrimalForms
- Topic: Auto-Tab to next text box after input
- Replies: 8
- Views: 31383
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
I really hope I don't have to abandon this layout for my previous one.
Thanks,
Jason
- Wed Feb 27, 2013 4:03 am
- Forum: PrimalForms
- Topic: Auto-Tab to next text box after input
- Replies: 8
- Views: 31383
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...
- Tue Feb 26, 2013 7:14 am
- Forum: PrimalForms
- Topic: Auto-Tab to next text box after input
- Replies: 8
- Views: 31383
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()
}
}
$txtBoxA
$txtBoxB
$handler_txtBoxA_TextChanged=
{
if ($txtBoxA.Text.Length -ge 7)
{
$txtBoxB.Focus()
}
}
- Tue Feb 26, 2013 4:23 am
- Forum: PrimalForms
- Topic: Auto-Tab to next text box after input
- Replies: 8
- Views: 31383
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...