PDA

View Full Version : Multi-choice subfile not acting quite right.



David Abramowitz
04-13-2004, 03:09 PM
Are you compiling using the RSTDSP(*YES) parameter? Dave

Guest.Visitor
04-14-2004, 05:07 AM
Dave, The file description shows Restore Display RSTDSP *YES. In fact, we compile all display files with RSTDSP(*YES). Additionally, and I was reaching... I tried DFRWTR(*NO) and the FRCDTA record level keyword. Changes to these guys made no difference in how the screen functioned. Here's another bit on info, I just removed the *SLTIND parameter from the SFLMLTCHC keyword and now the HI attribute is applied to the appropriate subfile records on the initial display. WHY!?! I LIKE the checkbox box that *SLTIND adds to the records. It looks like a bug to me. I'd almost accept it as normal under the assumption that the checkbox is a replacement for the HI attribute upon initial display, but toggling the selections should force the HI attribute to work whether or not this is the first pass. But the HI attribute NEVER works until the second display of the screen, it just doesn't seem to "function as designed". Any further ideas will be appreciated... I think I will call software support to see if there are any known issues. Thanks.

David Abramowitz
04-14-2004, 05:31 AM
Are you up to date on the latest CUME PTFs? There are several PTFs that relate to SFLMLTCHC when used within a window. Dave

Guest.Visitor
04-14-2004, 10:12 AM
Interesting.... Our last cum pkg was installed Feb 1st, if we are missing a ptf, it would be very new. I called Rochester this morning, the support rep was unable to find an APAR containing "SFLMLTCHC" more recent than V3R7. I wrapped up my code along with the objects and some sample data and sent it to her in a save file. When I hear from her I'll post again. I'll mention your comment regarding the PTFs when I speak with her. Thanks again.

David Abramowitz
04-14-2004, 10:53 AM
The PTFs in question don't specifically mention SFLMLTCHC, but they do affect the behaviour pf SFLMLTCHC. They are screen PTFs. look for 5722SS1-SI09678, and 5722SS1-SI10022 in particular. Dave

Guest.Visitor
04-14-2004, 12:11 PM
I'm writing a simple application using a multiple choice subfile. The program works correctly except that selected subfile records are not highlighted when the screen is first presented. Some records in the subfile should appear highlighted AND checkbox checked because I write them to the subfile with their SFLCHCCTL field set to 1. The checkbox checked/unchecked state works correctly, but the HI attribute does not seem to work until the screen is displayed a second time. During the initial display of the screen, I can select/unselect/select records and the checkbox switches as expected, but the HI attribute will not show itself. If I cause my program to redisplay the screen, the selected records are highlighted and selecting/unselecting/selecting records highlights/un-highlights/highlights and checks/unchecks/checks them just as expected. I have tried using the CHCSLT and CHCAVAIL keywords on the control record, but the results are the same. Any ideas? Thanks, Todd <hr width=50 align=left>Code ('http://www.mcpressonline.com/mc/showcode@@.6aea5dc5')

Guest.Visitor
04-14-2004, 12:11 PM
PTF status: SI09678 - Temp Applied, SI10022 - Superseded by SI10224. Still waiting to hear from support..... Thanks again, Todd