× 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.


  • Subject: Re: File field descriptions
  • From: "Rick DuVall" <R_C_DuVall@xxxxxxxxxx>
  • Date: Wed, 6 Jun 2001 07:45:34 -0600

Hi Joe

    If you are interested in extracting the x,y coordinates of screen fields
from the object itself you could use

  *==========================================================
  * Api Prototypes
  *==========================================================
 D RtvFileD        PR                  extpgm( 'QDFRTVFD' )
 D  RtrnData                  32767A
 D  RtrnLen                      10I 0
 D  FormatName                    8A
 D  FilLibName                   20A
 D  ErrorCode                          Like(ErrorParm)

    though it is a bit difficult to use...

Regards
Rick


> Thanks again, Tim. RPG ILE sure is nice for dealing with list APIs.  I
took
> Craig's program, copied a piece here and there and WHAM, I now have a VERY
> fast way of getting the length and decimals for a field, given the
library,
> file, format and field name.
>
> Too cool.
>
> Joe


+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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

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.