MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » April 1998

RE: Using mouse to prompt


  • Subject: RE: Using mouse to prompt
  • From: "Simon Coulter" <shc@xxxxxxxxxxxxxxxxx>
  • Date: Wed, 22 Apr 98 22:58:48 +1000

fixed

Hello Booth,

ENHDSP(*YES) just allows the display to use the new DDS support (windows, 
menus, action bars, mouse, etc) if 
the controller supports those 5250 data stream enhancements.  The controllers 
interpretation of the data stream 
is what causes the dots or lines to be displayed.  ENHDSP(*NO) forces any of 
those items to be ignored.

The mouse cursor position for single and double button events is supposed to be 
returned by the RTNCSRLOC DDS 
keyword.  Check out the RTNCSRLOC(*MOUSE &ROW &COL &ROW2 &COL2) form.

Regards,
Simon Coulter.

//----------------------------------------------------------
// FlyByNight Software         AS/400 Technical Specialists
// Phone: +61 3 9419 0175      Mobile: +61 3 0411 091 400
// Fax:   +61 3 9419 0175      E-mail: shc@flybynight.com.au
// 
// Windoze should not be open at Warp speed.
 
//--- forwarded letter -------------------------------------------------------
> X-Mailer: MR/2 Internet Cruiser Edition for OS/2 v1.46b b46b 
> Date: Tue, 21 Apr 98 20:57:20 -0400
> From: boothm@ibm.net
> To: MIDRANGE-L@midrange.com
> Reply-To: MIDRANGE-L@midrange.com
> Subject: RE: Using mouse to prompt

> 
> Two more questions:
> 
> 1) The pretty blue border for windows is a big improvement, imho. 
> Evidentally it is a result of the enhanced display *EHNDSP(*YES) keyword. 
> What other things does it do?  What haven't I noticed?  Obviously they
> didn't do all of this just for a pretty border.
> 
> For the second question here's the work flow:  I want to put up an
> operator's screen with several input fields.  Some of these fields have
> constant data that I want to be able to validate or to pull off a
> displayed table.  The table would be a small subfile window of valid
> choices.  
> 
> For example lets use an Accounts Payable vendor's name maintenance screen. 
> One field would be the "Net terms" field where we would keep the vendor's
> payment terms.  There are probably... oh, say what?  maybe 8 different
> standard phrases like "Net due on Receipt"  or "Net due 10th"?  I'd like
> the operator to either go to the terms field and hit F4, or point at the
> field with the mouse and click or double click and have a sort of
> drop-down box appear with a subfile of valid choices.  Then the operator
> could arrow down to the selected choice, or mouse-click on it, and it
> would return that selected value to the entry field.
> 
> I can do all of the steps now excepting for efficient mousing:
>   
> 2)  How can I get the program to know where the mouse pointer is?  I can
> tell where the cursor is easy enough, but not the mouse pointer.  I can
> click the mouse to get the cursor into the field, and then doubleclick,
> but that defeats the purpose of mousing.
> 
> -- 
> -----------------------------------------------------------
> boothm@ibm.net
> -----------------------------------------------------------

+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@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
+---






Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact