Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


how to write scaled-down rpg (as/400) programs to fit the size of handheld screens?

Posted on 2004-10-22
Medium Priority
Last Modified: 2012-06-27
I'm working on a project now to put some of our data collection programs onto handheld wireless terminals. I'm used to writing applications for normal 24x80 screens viewed with client access. One intermec handheld I'm testing now always keeps the cursor centered on the screen when I log on and has a 16x20 screen leaving me to move the cursor around to view menu options, ect.  Is there any way to format/resize the screen to fit the handheld display or do I need to just write a menu program (and data collection programs) that are confined to a 16x20 area? Even if I do this the way the termianl works now by following the cursor makes me think that the top/bottom/sides of the screen could be cut off depending on where the cursor is and if the screen always centers on the cursor.

I'm just trying to figure out the best way to approach this so I dont' have to waste my time with trial and error. Thanks in advance.
Question by:billymcqueary
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 14

Accepted Solution

daveslater earned 750 total points
ID: 12383893
the way I have found best for these type of applications is to have a 20x80 screen and use the CSRINPONLY key work.
This limits the cursor movement to input cable fields the you can place in the area of the screen that you define.


Expert Comment

ID: 12431453
We are using OS/400 menu's created with SDA on our intermec scanners, when viewing them on a normal PC the buttom left part contains all options and the input field to select menuoption. Change the created menu with CHGMNU CMDLIN(*NONE) this will only give you a 2 character long input field where the user can input an option from the menu. Hope this helps! If you need more help let me know, we are using quite a few handhelds here with direct AS/400 connection.

Expert Comment

ID: 12607943
<normal 24x80 screens>

my handhelds (teklogix)
shows 80x24 (80 cols X 24 rows)
(that's what your're saying, right?)

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Working from home is a dream for many people who aren’t happy about getting up early, going to the office, and spending long hours at work. There are lots of benefits of remote work for employees.
One of the most important things in an application is the query performance. This article intends to give you good tips to improve the performance of your queries.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

618 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question