Urgent! Problems with skinbuttons (Antonio)

Urgent! Problems with skinbuttons (Antonio)

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

Re: Problems with skinbuttons (Antonio)

Postby Richard Chidiak » Fri Oct 01, 2010 8: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Problems with skinbuttons (Antonio)

Postby Ruben Fernandez » Mon Oct 04, 2010 6: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
Ruben Fernandez
 
Posts: 366
Joined: Wed Aug 30, 2006 5:25 pm
Location: Uruguay

Re: Problems with skinbuttons (Antonio)

Postby byte-one » Mon Oct 11, 2010 3: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.
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
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Problems with skinbuttons (Antonio)

Postby Richard Chidiak » Mon Oct 11, 2010 3: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Problems with skinbuttons (Antonio)

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

Re: Problems with skinbuttons (Antonio)

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

Re: Problems with skinbuttons (Antonio)

Postby byte-one » Wed Oct 13, 2010 1: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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Urgent! Problems with skinbuttons (Antonio)

Postby Antonio Linares » Wed Oct 13, 2010 4: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41469
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Urgent! Problems with skinbuttons (Antonio)

Postby Richard Chidiak » Wed Oct 13, 2010 5: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Urgent! Problems with skinbuttons (Antonio)

Postby Antonio Linares » Wed Oct 13, 2010 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41469
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Urgent! Problems with skinbuttons (Antonio)

Postby Richard Chidiak » Wed Oct 13, 2010 8: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
User avatar
Richard Chidiak
 
Posts: 946
Joined: Thu Oct 06, 2005 7:05 pm
Location: France

Re: Urgent! Problems with skinbuttons (Antonio)

Postby Antonio Linares » Thu Oct 14, 2010 12:05 am

Already sent again :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41469
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Urgent! Problems with skinbuttons (Antonio)

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

Re: Urgent! Problems with skinbuttons (Antonio)

Postby Antonio Linares » Thu Oct 14, 2010 11:50 am

Günther,

many thanks! :-)

Lets wait for Richard feedback :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41469
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 129 guests