View Full Version : CA vs CF Keys
Guest.Visitor
01-01-1995, 02:00 AM
On Tuesday, July 21, 1998, 12:59 PM, Richard Oshlag wrote: I'd like to enable the HELP key on an application. Unfortunately, the HELP key seems to operate as a "CA" key rather than a "CF" key. The problem with this is, of course, that the data entered on the screen before the HELP key is pressed is not updated. Is there a keyword(s) in DDS which will help? For now I've fudged by substituting F24 and made it a "CF" key. But it would be so nice to be able to use HELP instead. ================================================== ============================== ===== You might try using the ALTHELP keyword in your DDS. This will automagically use F1 as the help key. If you prefer, you can specify another key for help rather than F1. No programming is involved. David Abramowitz
Guest.Visitor
07-23-1998, 07:07 AM
Richard, The problem is (I'm assuming) the use of EXFMT to display your format. If you keep your HELP key definition and you use a loop like this instead: WRITE display format DOU HelpIndicator = *OFF READ display format IF HelpIndicator = *ON EXSR ShowHelp ENDIF ENDDO then your screen will not be overwritten and your changes will stay. EXFMT does a combined WRITE/READ, and the WRITE is killing any changes made to the screen. Hope this helps, Michael Polutta On Tuesday, July 21, 1998, 12:59 PM, Richard Oshlag wrote: I'd like to enable the HELP key on an application. Unfortunately, the HELP key seems to operate as a "CA" key rather than a "CF" key. The problem with this is, of course, that the data entered on the screen before the HELP key is pressed is not updated. Is there a keyword(s) in DDS which will help? For now I've fudged by substituting F24 and made it a "CF" key. But it would be so nice to be able to use HELP instead. Thanks, Richard Oshlag American Contract Bridge League Memphis TN E-Mail: roshlag@acbl.org
Guest.Visitor
07-23-1998, 10:28 AM
On Thursday, July 23, 1998, 08:44 AM, Richard Oshlag wrote: Unfortunately this is a legacy application converted from a S/38 where the default was F1=Exit program. The system is too big to convert all the applications to SAA compliant (or our staff too small, take your pick). I chose to use F24 as "HELP" rather than the HELP key itself. Are you saying that the ALTHELP keyword would change the HELP key to a CF key? Thanks again, Richard Oshlag ================================================== ============================== ======= Help will still act as a CA key, BUT the use of the ALTHELP keyword makes life easier. If you wish to use F24 as your help key, simply type: <tt>ALTHELP(CA24)</tt> into the file area of your DDS. It is not necessary to do anything else at all at all. David Abramowitz
Guest.Visitor
07-23-1998, 01:33 PM
On Thursday, July 23, 1998, 08:44 AM, Richard Oshlag wrote: Wish it were so...but the program does writes and reads to the display file. Yes, but can you put the loop in like I suggested, or have you already tried that, or is it not possible to modify?
Powered by vBulletin® Version 4.1.5 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.