Default Button?

Default Button?

Postby Jeff Barnes » Fri Aug 25, 2006 8:23 pm

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
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Postby Antonio Linares » Fri Aug 25, 2006 9:07 pm

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

Postby Jeff Barnes » Sat Aug 26, 2006 12:27 am

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
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Postby Antonio Linares » Sat Aug 26, 2006 6:25 am

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


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 74 guests