Page 2 of 2

Re: skinbuttons and enter key

Posted: Wed Sep 22, 2010 1:28 pm
by Richard Chidiak
Antonio

Still wrong :cry:

Richard

Re: skinbuttons and enter key

Posted: Mon Sep 27, 2010 6:01 am
by Richard Chidiak
Antonio

Any chance we can get this working ?

Thanks for your help

Richard

Re: skinbuttons and enter key

Posted: Mon Sep 27, 2010 7:07 am
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
 

Re: skinbuttons and enter key

Posted: Mon Sep 27, 2010 7:17 am
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

Re: skinbuttons and enter key

Posted: Mon Sep 27, 2010 7:20 am
by Antonio Linares
Richard,

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