Urgent! Problems with skinbuttons (Antonio)

User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Urgent! Problems with skinbuttons (Antonio)

Post by byte-one »

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.
Last edited by byte-one on Wed Oct 13, 2010 1:02 pm, edited 1 time in total.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: Problems with skinbuttons (Antonio)

Post by Richard Chidiak »

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
Ruben Fernandez
Posts: 366
Joined: Wed Aug 30, 2006 5:25 pm
Location: Uruguay

Re: Problems with skinbuttons (Antonio)

Post by Ruben Fernandez »

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
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: Problems with skinbuttons (Antonio)

Post by byte-one »

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.
Last edited by byte-one on Mon Oct 11, 2010 10:24 pm, edited 1 time in total.
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
Richard Chidiak
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France
Contact:

Re: Problems with skinbuttons (Antonio)

Post by Richard Chidiak »

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
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: Problems with skinbuttons (Antonio)

Post by byte-one »

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

Re: Problems with skinbuttons (Antonio)

Post by Richard Chidiak »

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
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: Problems with skinbuttons (Antonio)

Post by byte-one »

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

Re: Urgent! Problems with skinbuttons (Antonio)

Post by Antonio Linares »

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

Re: Urgent! Problems with skinbuttons (Antonio)

Post by Richard Chidiak »

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

Re: Urgent! Problems with skinbuttons (Antonio)

Post by Antonio Linares »

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

Re: Urgent! Problems with skinbuttons (Antonio)

Post by Richard Chidiak »

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

Re: Urgent! Problems with skinbuttons (Antonio)

Post by Antonio Linares »

Already sent again :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: Urgent! Problems with skinbuttons (Antonio)

Post by byte-one »

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

Re: Urgent! Problems with skinbuttons (Antonio)

Post by Antonio Linares »

Günther,

many thanks! :-)

Lets wait for Richard feedback :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply