|
If I plead and beg of you, could you please post your code for RtvFldLoc. I have been looking for that functionality for a long time to add some flexibilty to my cursor positioning... I have used tables, indicators and of course hard coded x,y values... But to have a dynamic procedure that knows the location of my fields on the screen would be great. tim > -----Original Message----- > From: Frank Jodat [SMTP:jodat@Dakosy.DE] > Sent: Thursday, November 04, 1999 11:44 PM > To: RPG400-L@midrange.com > Subject: Re: Cursor positioning > > Larry, > > Larry Paque wrote: > > > > Does anyone have a clean method that avoids the use of indicators? > > > Somehow determining the row/column of a named field from the display > file > > > object? I'd hate to have to parse the source for it. > > Based on a code snippet someone showed in this list I have made a > procedure > called "RtvFldLoc". The main part is the "Retrieve display file > description API" > ( QDFRTVFD ). This API is amazing fast. > I use it to indicate any errors in display fields. You don't need > indicators and > the > API keeps track of any change that is done to the display file. > The procedure is part of a service program that handles display file > related > stuff. > > Regards, > Frank Jodat > > +--- > | This is the RPG/400 Mailing List! > | To submit a new message, send your mail to RPG400-L@midrange.com. > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: > david@midrange.com > +--- +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-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 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.