Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 19 of 23

VRC 4000 Software Driver Manual: Appendix D Programming Guidelines

Pages 167 to 170 of 206, from VRC 4000 Software Driver Manual

The original document is the PDF (1.2 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.

For the Symbol VRC-4000

Page 167

Appendix D

Programming Guidelines

Introduction This section describes some techniques commonly employed in touchscreen programming, but is by no means an exhaustive guide. One of the joys of touchscreen programming is the scope for devising innovative and effective methods of user interaction.

Audio and Video Feedback When an active pad is touched, it is very helpful to see visual feedback immediately on touching the screen, and this can take several forms. The whole pad may change color, or just the text within it, or just its border if it has one. The pad might revert to its original color when released, or might stay highlighted for some reason.

Activation Unlike a keyboard, a pad need not necessarily invoke action within the application when it is first touched. Activation can be on first, repeat or last touch. If the touchscreen has a Z axis, it might also be on a 'heavy' touch. One of the most popular and effective forms of activation is last touch, with visual feedback on first touch. This enables the user to confirm he has touched the correct area before lifting his finger to action the area.

Typematic Activation Just like a key on keyboard, a pad may begin to invoke continuous responses after it has been touched for a period of time. If the touchscreen has a Z axis, the repeat rate could be made to increase with increasing pressure.

D-1

Page 168

VRC 4000 Software Driver Manual

Allow Entry of Valid options Only One of the key advantages of touch screens is that only valid options need be presented for selection, minimizing input errors. Entry of calendar dates serves as a thought provoking example. In a touch screen application, it is quite feasible, yet quite wrong, to pop up a calculator-style number pad for the user to punch in a numeric date. Much better to construct a graphical calendar for a chosen month, with only the valid days touch sensitive. In this solution, invalid dates such as the 30th of February would never even appear on the screen, and bank holidays could be in a different color, insensitive to touches.

Timeout If the screen is not touched for a time, you may want to perform some action. For example, return to a password screen, or display a help message.

Keyboard Sharing In some parts of an application it can be convenient for the user to be able to use the touchscreen or the keyboard interchangeably, with the same effect. For example, even short items of text input are easier on a keyboard, and this would often be preferred if the keyboard is close at hand. Touchscreens are most unsuitable for even moderate amounts of text input.

Sliding Scales The unique ability of a touchscreen to continuously return coordinates when a finger slides around it may be used in a number of ways. A visual image of a sliding scale, with a moveable cursor bar is a most effective way of increasing or decreasing numeric quantities, or scrolling through a list.

“Pop-Up” Pads If, for some reason, a window is popped-up, or promoted, on top of some others, partially or wholly obscuring some of them, you might wish to promote its touch attributes in a similar manner, ie making it exclusively touch sensitive, and de-sensitizing all other pads.

D-2

Page 169

Appendix D: Programming Guidelines

Toggle Buttons Instead of displaying a pair of buttons for Yes/No, Buy/Sell etc., it can be more effective to display a button which toggles between two or more values when it is touched. In other words touching the word “Buy” makes it change to “Sell” etc. This technique is most effective in “form fill-in” type screens.

TouchBox When you start to design your application, possibly making use of some of the techniques just described, you may well decide to front-end it with a set of routines to manage the touchscreen in close harmony with the visual images. We believe this to be a very sound approach, and have done just that ourselves. Call Touch-Base now and ask us about TouchBox.

D-3

Page 170

VRC 4000 Software Driver Manual

D-4