For Programmers: Free Programming Magazines  


Home > Archive > Cobol > January 2007 > accept blink









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 accept blink
wolfadam1972

2007-01-16, 12:12 am

Hello!
I work with Microfocus cobol net-express 4. When I want to get user input in my program, I define a Variable for my screen section, for instance:
03 ssmyfield line 20 col 5 pic x using bsmyfield.
and write "accept bsmyfield". When I run the programm and I get to the input field, the program waits for my input and the cursor blinks.
My question is now: Sometimes I need to go to an input field with no cursor blinking, but the next field should blink again (on the same page).
I tried to write: "03 ssmyfield line 20 col5 pic x using bsmyfield no blink" but this does not work.
I also know the X"A7" function 17 - Set Cursor Type (of which I do not know how it works), but Microfocus writes as a comment to this function "Before using this routine, use the CBL_CLEAR_SCR routine, to prevent possible errors." => so I cannot use this (because I cannot clear the screen between two user inputs on the same page).
Thanks 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