Link to home
Start Free TrialLog in
Avatar of nickmbnabb
nickmbnabb

asked on

Display on Mouse Click

I see on screens we have from software packages that on the bottom of the screen, for example, F3-Exit, the F3 has a "button" look to it.  

How is that done?
Avatar of nickmbnabb
nickmbnabb

ASKER

Also, my intention is to have something besides a function key show with that "button" look?  DOes this work only for function keys?
Avatar of Gary Patterson, CISSP
What terminal emulator are you using when you see this?

- Gary Patterson
Mocha TN5250
If this only happens on specific (3rd-party) screens, it seems likely that the display files used the PSHBTNFLD and PSHBTNCHC keywords. If it happens more widely, it's possible that the emulator setting is enabling it. In the PC Comm emulator from iSeries Access, this can be enabled for all/most screens through the Edit menu bar option -- Edit-> Preferences-> Hotspots...

Tom
It shows on certain things across the board, including the DDS that's part of the OS.   User generated image
I used the PSHBTNFLD and PSHBTNCHC and it came enclosed in <> instead of a button.
I found some source code that displays F10 as a "button":
 User generated imageIt even shows as a "button" in the source.  I'm not seeing anything in the source code that's causing this.
ASKER CERTIFIED SOLUTION
Avatar of Gary Patterson, CISSP
Gary Patterson, CISSP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Since Tom mentioned it, here is a nice little example of the PSHBTNFLD / PSHBTNCHC keywords, as rendered by the emulator in IBM Client Access:

http://www.martinvt.com/Code_Samples/Pushbutton/pushbutton.html

- Gary Patterson
Thanks for saving me from any further knocking myself out trying to figure this out.