|
I am not completely sure I follow what is happening, but here is my shot
at it:
When the Home key is pressed the if/else loop does nothing.
This makes me think that commenting
line 56. HomeKey = Save_homeKey;
and
line 58. Save_HomeKey = HomeKey;
might make a difference. My guess is that it will either fix it or show
you the problem from another angle, and lead you safely home.
On 8/2/2012 2:25 PM, Michael Schutte wrote:
I've spent entirely too much time on this. Could someone please help meissue.
out on this. I've never bothered handling the home key. Here's the
to
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
be positioned to the first subfile record. This is working just fine,record
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
has a position cursor of 27 on it.is
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
happening here too. If I press Home which locks the Control recordfields,
I can press F11 to expanded the subfile records and it enables thecontrol
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
--
Booth Martin
802-461-5349
http://www.martinvt.com
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.
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.