Page 1 of 3

Pushbutton drop problem

Posted: Thu Oct 04, 2018 3:27 am
by c-tec
Hello Roger,
it seems that pushbuttons have a problem with mouseover and drag & drop. The tiles in the sample keep the mouseover state and do not change back when leaving them with the mouse. In the sample I try to drag on the bottom right button. Even a dc_getrefresh() does not bring back the original color. Only when I scroll after the drop action again over the buttons. Is there any trick to correct this behaviour ?
regards
Rudolf

Re: Pushbutton drop problem

Posted: Thu Oct 04, 2018 9:21 am
by rdonnay
Rudolf -

Do you have a sample program that I can work with?

Re: Pushbutton drop problem

Posted: Fri Oct 05, 2018 10:43 am
by c-tec
Hello Roger,
attached a little sample
regards
Rudolf

Re: Pushbutton drop problem

Posted: Sat Oct 06, 2018 9:11 am
by hz_scotty
hi
in deinem .XPJ ist das .obj mit dem .prg vertauscht.
So kann er ein EXE nicht erzeugen

Re: Pushbutton drop problem

Posted: Sun Oct 07, 2018 2:22 am
by c-tec
Hello,
little correction, but I think Roger knows it:

// $START-AUTODEPEND
dclipx.lib
// $STOP-AUTODEPEND
ddtest.PRG

regards
Rudolf

Re: Pushbutton drop problem

Posted: Sun Oct 21, 2018 12:46 am
by c-tec
Hello Roger,
any chance to solve this ? My customers always remember me on this strange behaviour ;-)
regards
Rudolf

Re: Pushbutton drop problem

Posted: Mon Oct 22, 2018 11:42 am
by rdonnay
I don't see a problem in your sample program.

How do I reproduce this problem?

Re: Pushbutton drop problem

Posted: Tue Oct 23, 2018 11:04 am
by c-tec
Hello Roger,
I drag a file form the explorer and dropt it over the lower right button. The way is from the upper left side of the screen. The buttons do not change the mouseover state back when changing.
I use 1.9 SL 2 and eXpress++ build 264


regards
Rudolf

Re: Pushbutton drop problem

Posted: Wed Oct 24, 2018 2:57 am
by Victorio
I am also interesting, how prevent to change color when move mouse cursor over button.
In your example this look to found how restore color from MOUSECOLOR to COLOR when mouse go away from button.

In my application I had problem to changing color when some button selected and run some function.
I realize to prevent it with deactivate (with WHEN) all button when running selected process. When end proces, buttons

Re: Pushbutton drop problem

Posted: Wed Oct 24, 2018 4:58 am
by rdonnay
Rudolf -

Do you have Teamviewer or Skype?

I need to have you show me the problem.
I still cannot make it happen.