FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour skinbuttons and enter key
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: skinbuttons and enter key
Posted: Wed Sep 22, 2010 01:28 PM

Antonio

Still wrong :cry:

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: skinbuttons and enter key
Posted: Mon Sep 27, 2010 06:01 AM

Antonio

Any chance we can get this working ?

Thanks for your help

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: skinbuttons and enter key
Posted: Mon Sep 27, 2010 07:07 AM
Richard,

Please test this example. It seems to work fine:
Code (fw): Select all Collapse
#include "FiveWin.ch"

function Main()

   local oDlg, cText := "Hello"

   SkinButtons()

   DEFINE DIALOG oDlg

   @ 1, 2 GET cText SIZE 60, 12
   
   @ 3, 7 BUTTON "OK" DEFAULT ACTION MsgBeep()

   @ 3, 14 BUTTON "Cancel" ACTION oDlg:End()

   ACTIVATE DIALOG oDlg CENTERED

return nil
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: skinbuttons and enter key
Posted: Mon Sep 27, 2010 07:17 AM

Antonio

This test is ok, we are using one occurrence (get) with enter key

When used from inside an app it is not working , it is firing the same action more than once when enter key is used

As far as i am concerned, skinbuttons is not useable as it is now and the problem will rise again i am sure

Unfortunately i will deactivate it from my application, i have an important release of my software this week.

Regards :?

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: skinbuttons and enter key
Posted: Mon Sep 27, 2010 07:20 AM

Richard,

If you could provide me an example to reproduce the error, it would help very much, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion