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
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
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.
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
Richard, i made my apps on VISTA. No Problems!
Do you use MDI-apps? The errors i only see on MDI.
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
Günther,
I send you its source code for your private review, thanks ![]()
We need an example to trap such error.
Gunther
If you need help, let me know
I can also test and take a look at the code if needed
Richard
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 ![]()
Antonio
Can you please send them in another extension than prg ?
My outlook removes prg extensions
Thanks
Richard
Already sent again ![]()
Antonio, i have sent to you a new skins.prg. It seems functioning!
Send it also Richard to test!
Günther,
many thanks! ![]()
Lets wait for Richard feedback ![]()