FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Default Button?
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Default Button?
Posted: Fri Aug 25, 2006 08: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

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Default Button?
Posted: Fri Aug 25, 2006 09: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
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Default Button?
Posted: 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

Thanks,

Jeff Barnes



(FWH 16.11, xHarbour 1.2.3, Bcc730)
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Default Button?
Posted: Sat Aug 26, 2006 06: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

Continue the discussion