FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Urgent! Problems with skinbuttons (Antonio)
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Urgent! Problems with skinbuttons (Antonio)
Posted: Fri Oct 01, 2010 11:17 AM
Antonio, when i use skinbuttons in some cases (slower XP machines?) and in the valid-clausula from the dialog are msgyesno("end"), the msgyesno-function are shown twice when the dialog end.
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: Problems with skinbuttons (Antonio)
Posted: Fri Oct 01, 2010 08:49 PM

Gunther

I have noticed and told Antonio that Skinbuttons in some cases are firing twice the actions, as far as i am concerned it is not useable "like it is" now, can be dangerous.
Example deleting a record in a browse can happen twice....if you have a confirm message for deleting, the message is shown twice and another record is deleted.

Unfortunately i was not able to reproduce the error in a small sample, i can reproduce it at any moment in my application...

If you can provide a small sample that shows the error, i am sure this will help Antonio fixing this odd problem

Hth

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 366
Joined: Wed Aug 30, 2006 05:25 PM
Re: Problems with skinbuttons (Antonio)
Posted: Mon Oct 04, 2010 06:46 PM

Gunther, Richard: Sorry for my bad English, try to do a sysrefresh() or a SysWait(.1), in the button action as the first action.
I don't know why, but sometimes help me.

I believe that the best solution is rbbuton.

Best regards

Ruben Fernandez

Gracias y Saludos

Ruben Fernandez - Uruguay

FWH 11.06, Harbour, Borland 5.82
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Problems with skinbuttons (Antonio)
Posted: Mon Oct 11, 2010 03:27 PM

The action of button fires sometime 2x!

Antonio, now i can you send the point of error seen on the errorlog:
.\source\internal\SKINS.PRG => FWSKINBTNLBUTTONDOWN(223)
The error are only shown on some (slower?) XP machines!?
If you have a solution, please send me a obj to test! I can reproduce the error in some cases.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: Problems with skinbuttons (Antonio)
Posted: Mon Oct 11, 2010 03:43 PM

Gunther

I have the error on very fast machines also, on windows 7 (64 bits included)

It is not related to slow machines, in some cases the action is fired twice , I am not using it at the moment

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Problems with skinbuttons (Antonio)
Posted: Mon Oct 11, 2010 10:27 PM

Richard, i made my apps on VISTA. No Problems!
Do you use MDI-apps? The errors i only see on MDI.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: Problems with skinbuttons (Antonio)
Posted: Tue Oct 12, 2010 07:57 AM

Gunther

I can reproduce it (in my app) on 7, vista and xp tested on all 3 of them

I use sdi mainly, i have the problem on xbrowse mainly but on some browses (not all) which make it difficult to isolate

At the moment , i deactivated it from my app

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Problems with skinbuttons (Antonio)
Posted: Wed Oct 13, 2010 01:01 PM
Richard, you are right! All OS and also non-MDI apps are shown this error!
Over all, this is a very good graphic solution for apps!
Antonio, any solution from your side? Can you send me the source to study?
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Urgent! Problems with skinbuttons (Antonio)
Posted: Wed Oct 13, 2010 04:41 PM

Günther,

I send you its source code for your private review, thanks :-)

We need an example to trap such error.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: Urgent! Problems with skinbuttons (Antonio)
Posted: Wed Oct 13, 2010 05:05 PM

Gunther

If you need help, let me know

I can also test and take a look at the code if needed

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Urgent! Problems with skinbuttons (Antonio)
Posted: Wed Oct 13, 2010 07:24 PM

Richard,

We can also send you its source code if you want to review it

We plan to make it public once it is fine :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 946
Joined: Thu Oct 06, 2005 07:05 PM
Re: Urgent! Problems with skinbuttons (Antonio)
Posted: Wed Oct 13, 2010 08:57 PM

Antonio

Can you please send them in another extension than prg ?

My outlook removes prg extensions

Thanks

Richard

http://www.cbati.com

Uestudio
Fwh 13.05 Harbour 3.2 MSVC 2013
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Urgent! Problems with skinbuttons (Antonio)
Posted: Thu Oct 14, 2010 12:05 AM

Already sent again :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Urgent! Problems with skinbuttons (Antonio)
Posted: Thu Oct 14, 2010 09:28 AM

Antonio, i have sent to you a new skins.prg. It seems functioning!
Send it also Richard to test!

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Urgent! Problems with skinbuttons (Antonio)
Posted: Thu Oct 14, 2010 11:50 AM

Günther,

many thanks! :-)

Lets wait for Richard feedback :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com