For Programmers: Free Programming Magazines  


Home > Archive > Cobol > December 2006 > mouse handling









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author mouse handling
wolfadam1972

2006-12-29, 12:12 am

Hello!
Sometimes I have the situation that I perform a task like reading through the parts of a file. I cannot make an accept in order to request if the user wants to
cancel the task.
So I use the function
"call x"D9" using break-comp-feld." in order to get informed if the user
pushed a button. If the user pushes ESCAPE, I will cancel the task.
My question is now: Is there also a function, which informs me that a mouse button was clicked (in a certain
position)?
I know from the microfocus help files that there is an old way to handle the mouse and a new way and that you cannot mix the two systems. Our company uses the old way with the x"AF"-Funcions, where you perform an accept and the mouse can terminate the accept.
I am almost sure that I would find a solution for my problem in the new way of handling the mouse, but I need a solution that works for the old way.
Thank you in advance
Wolfgang
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com