Hey folks,

 

As I've mentioned before - I work on these legacy type systems - which
essentially look like FP for DOS with the old Blue screens.

 

For each client - they get an Exe - with things like the main splash
screen, menu, procedure files - and such. The rest of the system are
FXP's that we give them. So - at all cost we try to avoid touching
anything that would require building a new EXE. Especially for our
Biggest client (since the EXE can NOT be updated during the daytime -
and even evening updates are a bit dicey - since they have Cali
operations - where as we are in NY). And, its this Big client for whom I
need to make a change. 

 

So - long story short. There is a procedure that is call from Numerous
places in the system, which does a kind of controlled "Browse" that can
get integrated into screens with other data also on the screen. That
"Browse" displays a small set of options under it - telling the user
what keys can be used to interact with the data - to move around - but,
it also has the ability to pass in an Extra option - to be displayed
under the data - and allow usage of special key to add additional
functionality. The value of the key pressed is sent back from the
procedure - so the calling program can detect if the user hit Esc,
Enter, the special key - etc. 

 

The problem is - in the past I hadn't really looked much at this
procedure - but, only called it from various programs - or updated
programs that were already calling it. And, so, recently - I had assumed
you could pass in MORE than One special key. But, now I find out that is
not the case - and I wanted to enable a 2nd special option for this data
browsing on one particular screen.

 

So - I thought I could work around the limitation - and also NOT Touch
the procedure. I attempted to use the ON KEY LABEL command. However, in
that procedure - it uses the INKEY command to capture the keystrokes.
And, it looks to me that when the INKEY command is running (with the
Zero parameter) - that the ON KEY LABEL Command gets completely Ignored!
And, I confirmed this with a small test program.

 

As such - does anyone have a suggestion. Otherwise - and I hate to do
this - I may pull that "Browsing" procedure into the program I am
working on - and update the procedure (maybe as a different name) - and
directly change that procedure to do what I want. But, was just hoping
for a more elegant solution...

 

Thanks,

 -K-

 

Senior Developer

Waitex Information System, Inc.

P Save a tree. Don't print this e-mail unless it's really necessary.

 



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/289ea162f5642645b5cf64d624c66a140e260...@us-ny-mail-002.waitex.net
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to