Page 1 of 1
Combobox problem
Posted: Wed Nov 21, 2007 2:35 pm
by Pier Luigi
In the sample program combos.prg when I press the enter key the dialog is closed.
Regards
Pier Luigi
Posted: Wed Nov 21, 2007 4:11 pm
by Antonio Linares
Pier,
Thats because the pushbutton is a default pushbutton and traps the Enter key
Posted: Wed Nov 21, 2007 9:50 pm
by James Bott
Peir,
>Thats because the pushbutton is a default pushbutton and traps the Enter key.
And this is standard Windows behavior. In the old DOS apps you could use Enter to select an item in a combo, but it is not advisable to do this with a windows app, since users will not be expecting it to work that way.
James
Posted: Thu Nov 22, 2007 8:29 am
by Pier Luigi
Now I understand.
Thanks.
Pier Luigi