Default Button?

Post Reply
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Default Button?

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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 ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Jeff Barnes
Posts: 912
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada
Contact:

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post 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.
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply