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



You'll prefer using PSHBTNFLD and PSHBTNCHC I think.  You have to make a 2
digit field, and then all of the pushbuttons you want (including the
"E>xit" type-labels, where the mnemonic is active).  Then, just monitor
the contents of the pushbutton field.   

(look, I know I keep saying this over and over, but if you want an example
to look at, look at:
 
   http://www.spy.net/~booth/pushbtn.htm

There is an example I did there, including a screen shot and the dds and
CL.  When you see how easy it works, you'll see how to do it in rpg too. 
btw, making a page up button, a page down button, and/or a help button is
easy too. 



In <199806181730.NAA01376@lucas.emi.com>, on 06/18/98 
   at 01:27 PM, "David Prowak" <prowakd@emi.com> said:

>Hi,
>On a subfile that I have, I'm want the user's to be able to
>double click the mouse on the portion of the display
>file that displays:
>F3:  EXIT  or  F12:  CANCEL.
>And have the associated function take place.
>The only way that figured out how to do this is to
>use MOUBTN to have the click event turn on an indicator,
>and then in my program, when that indicator is *ON, use the
>fields returned by RTNCSRLOC to determine if the cursor was
>on the F3 field or the F12 field.
>It seems alittle clumsy to me.  Is there any other way to do this?

>TIA
>Dave




>+---
>| 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
>+---


-- 
-----------------------------------------------------------
boothm@ibm.net
Booth Martin
-----------------------------------------------------------

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