Page 1 of 1
Default Button?
Posted: Fri Aug 25, 2006 8:23 pm
by Jeff Barnes
Hi Everybody,
I used to be able to press ENTER and it would act as if I have clicked on the OK button. This is no longer working.
In Workshop I have the "default push button" selected.
Any Ideas?
Thanks,
Jeff
Posted: Fri Aug 25, 2006 9:07 pm
by Antonio Linares
Jeff,
Have you redefined it using the DEFAULT clause too ?
Please review samples>TestDlg.prg and you'll see it works fine.
What control has the focus when you press ENTER ?
Posted: Sat Aug 26, 2006 12:27 am
by Jeff Barnes
Antonio,
When I build the TestDLG.prg file the focus is in the GET.
I need to press ENTER twice (once to move from the GET, the second time then will act on the OK button)
This is the same thing that happens in my app.
I am using FWH 2.5 (I'm sure I did not have this issue before 2.5)
Any Ideas?
Thanks,
Jeff
Posted: Sat Aug 26, 2006 6:25 am
by Antonio Linares
Jeff,
samples\TestDlg.prg is working fine with FWH 2.7. There are many changes from 2.5 to 2.7. You should upgrade.
We may email you the EXE so you can try it yourself.