×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Iam trying to get the inquiry window to pop up where the cursor is positioned 
in subfile program.
When the user presses F4 to call the subfile inquiry program , the program 
needs to retrieve the cursor position of the screen to pass the coordinates to 
the subfile program.This process is coded in the following lines...
 
F  subfile     C  F E   WORKSTN
F                                                     KINFDS INFDS
 
I INFDS         DS
I                                              370 371 LINPOS
 
I                                         B   1       20LIN
I                                                2      2 L
 
I                   DS
 
I                                          B   1    20POS
I                                                2   2     P
C                 MOVE *ZEROS      LIN
C                 MOVE *ZEROS      POS
C                 MOVELLINPOS      L
C                 MOVE  LINPOS      P
C                 Z-ADD  LIN             SL       30
C                 Z-ADD  POS           SP       30
 
 
 
Can  some advise better ile code to the above or any much simplified code?
 
Thank you,
 
 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.