skinbuttons and enter key

User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: skinbuttons and enter key

Post by Richard Chidiak »

Antonio

Still wrong :cry:

Richard
http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: skinbuttons and enter key

Post by Richard Chidiak »

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
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: skinbuttons and enter key

Post by Antonio Linares »

Richard,

Please test this example. It seems to work fine:

Code: Select all | Expand

#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
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: skinbuttons and enter key

Post by Richard Chidiak »

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
User avatar
Antonio Linares
Site Admin
Posts: 42511
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 73 times
Contact:

Re: skinbuttons and enter key

Post by Antonio Linares »

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
Post Reply