Consultor Eletrônico



Kbase 13312: RETURN on button in gui unix does not work
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   5/10/1998
RETURN on button in gui unix does not work

**** DO NOT MAIL TO CUSTOMERS ************88
BUG NUMBER 94-08-12-004
if you press return on a button, the button is not fired. works
in ms-windows 7.3a .. does not work in 7.2e02 unib ibm6000-3 gui.

THIS IS NOT A CONSIDERED A BUG because:
CHAPPELL (08/12/94):This is a native look and feel issue for Motif.
Spacebar fires the button but not return. Return only fires the
button if is a default button style.


to dup run the attached code on ms-windows. enter in "www" in field
a. TAB to the button. press return or enter.. works fine.
if you do this on unix gui mode, the return will not work. Must click
on the button to fire it.

code to dup

def var a as char.
def button b1.
define frame b a b1.
on choose of b1 in frame b do:
display a:screen-value input a.
pause.
disable a with frame b.
display a:screen-value input a.
end.

enable a b1 with frame b.
wait-for go of frame b.

Progress Software Technical Support Note # 13312