Focus and Cursor

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
ppbedz
Experienced User
Posts: 147
Joined: Tue Jun 17, 2014 4:00 pm
First Name: Patti
Last Name: Bednarz
Company Name: McGard
State / Province: New York
Country: United States
Contact:

Focus and Cursor

Post by ppbedz »

Hello,

I am trying to code a simple screen to accept bar code scan input. (I just want to see if it will work for our application). Basically, I display a screen for the order to be scanned, then display a screen for item bar codes to be scanned. When an item BC is scanned, the value should be displayed in the "last scan" field and the focus should return to the "item scan" field for the next scan. (Eventually, the scans will update the order contents in a grid displayed below the scan input). My issues are 1) The focus will not return to the "scan item" field even though I am setting the focus indicator on. 2) I set my cursor to look like a pointer, and the cursor display is unchanged. I just want to make sure the focus is set for each subsequent scan and the user can clearly see that they are scanning in the right place. I am open to ways to make the presentation more user-friendly.

Thank you, Patti
Attachments
focus.docx
(155.59 KiB) Downloaded 73 times
ppbedz
Experienced User
Posts: 147
Joined: Tue Jun 17, 2014 4:00 pm
First Name: Patti
Last Name: Bednarz
Company Name: McGard
State / Province: New York
Country: United States
Contact:

Re: Focus and Cursor

Post by ppbedz »

I removed the cursor property and the set focus is now working properly. However, I still have the issue that the blinking cursor in the scan field is barely visible to the user. It there a way to make it more distinct?
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Focus and Cursor

Post by Scott Klement »

I don't understand why it matters where the cursor is when you scan? I'm assuming you are using our (mobile) scanning capability, right?

Also, in hopes of dispelling confusion: there are two things that people commonly refer to as "cursor". There is the mouse pointer and the text cursor. In Windows terminology, the "cursor" is the mouse pointer, and the term "caret" is used for the text cursor. Though, I must admit, I don't often hear anyone use the term "caret" :-)

Anyway, the cursor property controls what the mouse pointer looks like. The text cursor should look the way it "always does", in most browsers that's a vertical line.

I see that you are adjusting the background color when focus is placed on the field. Does that not help?
ppbedz
Experienced User
Posts: 147
Joined: Tue Jun 17, 2014 4:00 pm
First Name: Patti
Last Name: Bednarz
Company Name: McGard
State / Province: New York
Country: United States
Contact:

Re: Focus and Cursor

Post by ppbedz »

Scott,

The bigger issue is that focus in the field is being lost. I am not using Profound's mobile scanning (I was not aware of it). We have hand-held scan guns that are all programmed the same (and I have been told it is not an option to change the programming). The gun simulates an enter and a tab which does not deliver acceptable results in a green screen where the object is to scan variable-length bar codes continuously until all of the items for an order have been accounted for. I thought Profound pui.click might be my answer so I recoded the screen/program to work with Profound. However the focus does not always remain in the field that is supposed to contain the scan contents. I actually had a situation where the first item scanned and the next item ended up scanning in one of the browser tabs which ultimately sent me to another web site.... I sent an email to Profound support. They currently have the screen code. Thank you in advance for any help you can provide.... Patti
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Focus and Cursor

Post by Scott Klement »

Ah, my apologies, I should've looked to see if our Support Specialists had already been working with you. Since you've already been talking to them, I'll let them handle this.
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests