1. Olan Knight
  2. PowerBuilder
  3. Wednesday, 6 March 2019 22:13 PM UTC

PBv12.1, build 7055
PFC based app
Oracle 12C

My app has two command buttons - 
   If you click them with the mouse, they work.
   If you tab over to them, the highlight outline is present, but when you hit the Enter key, nothing happens!


What in the WORLD could be causing this???


Thanks<

Olan

 

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 6 March 2019 22:17 PM UTC
  2. PowerBuilder
  3. # 1

Hi Olan;

  That is because MS-Windows is waiting for you to hit the SPACE Bar instead when the CB has focus.  ;-)

Regards ... Chris

Comment
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Wednesday, 6 March 2019 22:23 PM UTC
  2. PowerBuilder
  3. # 2

Now that's just plain EMBARASSING!    :)

Thanks, Chris, especially for your very quick reply!


I guess there's code in them thar CMD buttons where the ENTER key works to activate the button.

Thanks Again,

Olan

Comment
  1. Chris Pollach @Appeon
  2. Thursday, 7 March 2019 00:29 AM UTC
Hi Olan;

Yes, an MS-Windows standard since Windows 3.0 .. LOL!

Regards ... Chris
  1. Helpful
  1. Brad Mettee
  2. Thursday, 7 March 2019 15:59 PM UTC
If a command button has the "Default" checkbox checked, the Enter key will trigger it. The "Cancel" checkbox lets you hit Escape to trigger a button.
  1. Helpful
  1. Olan Knight
  2. Thursday, 7 March 2019 19:40 PM UTC
Thanks, guys!
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.