×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
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.