Midrange News for the IBM i Community

Posted by: Viking
Information Systems
has no ratings.
Published: 07 Dec 2012
Revised: 23 Jan 2013 - 2185 days ago
Last viewed on: 16 Jan 2019 (4725 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

CSRLOC with MOUBTN Published by: Viking on 07 Dec 2012 view comments(3)

I've got a green screen that uses RTNCSRLOC and CSRLOC and Infds to put the cursor back to the field where the user was when they hit F4 to prompt and a selection window was presented.  This works perfectly when the user uses the keyboard to select the value in the selection window, but if they select the value by clicking the mouse (the window has MOUBTN) the value is returned but the cursor stays in the same position it was when the window was up, i.e. not where they were when they hit F4.

Any ideas for how to deal with this?


Return to midrangenews.com home page.
Sort Ascend | Descend