|
I'm sorry, I was wrong, both display files are using INDARA and INDDS in
the program.
On Thu, Aug 2, 2012 at 3:25 PM, Michael Schutte <mschutte369@xxxxxxxxx>wrote:
I've spent entirely too much time on this. Could someone please help me
out on this. I've never bothered handling the home key. Here's the issue.
When I press Home, it is disabling the field in the control record. So
it's always going back to the first subfile record.
What I want to do is.. .when the program first loads, I want the cursor
to be positioned to the first subfile record. This is working just fine,
display file has...
Then when the user presses home, I want the first field in the subfile
control to have focus. But when I press home, the fields in the control
record get disabled even though I have no protect indicators specified.
Home Key has a response indicator of 27. First field in control record
has a position cursor of 27 on it.
I've copied an existing program that is working as I want. Where the only
difference I see is that I am using the INDARA and INDDS in the program.
I've also never done a folded subfile before either. Something strange
is happening here too. If I press Home which locks the Control record
fields, I can press F11 to expanded the subfile records and it enables the
control records. I also have two constants in the control record that is
highlighted, they lose highlighting when I press F11.
I've put code here... http://code.midrange.com/c1b28b9e6f.html
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.