Page 3 of 3

Re: Pushbutton drop problem

Posted: Tue Oct 30, 2018 12:08 am
by c-tec
Hello Viktor,
even removing the metro color function does not work, so the problem is definitly that with drag & drop the color does not change back when the mouse leave the button after scrolling over it.
You can change the sample to see it.
regards
Rudolf

Code: Select all

     tbcolor("INIT")
     @ 1,1         DCPUSHBUTTONXP SIZE 150,150 CAPTIONARRAY wlbcaption(150,150 ,chr(8226),"Test 1",,"8.Arial",,) PIXEL  COLOR GRA_CLR_WHITE,GRA_CLR_BLACK //DROP {|o,x|testdrop(1,o,x,getlist)}
     @ 1,DCGUI_COL DCPUSHBUTTONXP SIZE 150,150 CAPTIONARRAY wlbcaption(150,150 ,chr(48),"Test 2",,"8.Arial",,)   PIXEL  COLOR GRA_CLR_WHITE,GRA_CLR_BLACK //DROP {|o,x|testdrop(2,o,x,getlist)}
     @ 1,DCGUI_COL DCPUSHBUTTONXP SIZE 150,150 CAPTIONARRAY wlbcaption(150,150 ,chr(48),"Test 3",,"8.Arial",,)   PIXEL  COLOR GRA_CLR_WHITE,GRA_CLR_BLACK //DROP {|o,x|testdrop(3,o,x,getlist)}
     @ 1,DCGUI_COL DCPUSHBUTTONXP SIZE 150,150 CAPTIONARRAY wlbcaption(150,150 ,chr(48),"Test 4",,"8.Arial",,)   PIXEL  COLOR GRA_CLR_WHITE,GRA_CLR_BLACK DROP {|o,x|testdrop(4,o,x,getlist)}
     @ 1,DCGUI_COL DCPUSHBUTTONXP SIZE 150,150 CAPTIONARRAY wlbcaption(150,150 ,chr(48),"Test 5",,"8.Arial",,)   PIXEL  COLOR GRA_CLR_WHITE,GRA_CLR_BLACK DROP {|o,x|testdrop(5,o,x,getlist)}

     @ 150,1       DCPUSHBUTTONXP SIZE 150,150 CAPTIONARRAY wlbcaption(150,150 ,chr(48),"Test 6",,"8.Arial",,)   PIXEL  COLOR GRA_CLR_WHITE,GRA_CLR_BLACK DROP {|o,x|testdrop(6,o,x,getlist)}
     @ 150,DCGUI_COL DCPUSHBUTTONXP SIZE 150,150 CAPTIONARRAY wlbcaption(150,150 ,chr(48),"Test 7",,"8.Arial",,)   PIXEL  COLOR GRA_CLR_WHITE,GRA_CLR_BLACK DROP {|o,x|testdrop(7,o,x,getlist)}
     @ 150,DCGUI_COL DCPUSHBUTTONXP SIZE 150,150 CAPTIONARRAY wlbcaption(150,150 ,chr(48),"Test 8",,"8.Arial",,)   PIXEL  COLOR GRA_CLR_WHITE,GRA_CLR_BLACK DROP {|o,x|testdrop(8,o,x,getlist)}
     @ 150,DCGUI_COL DCPUSHBUTTONXP SIZE 150,150 CAPTIONARRAY wlbcaption(150,150 ,chr(48),"Test 9",,"8.Arial",,)   PIXEL  COLOR GRA_CLR_WHITE,GRA_CLR_BLACK DROP {|o,x|testdrop(9,o,x,getlist)}
     @ 150,DCGUI_COL DCPUSHBUTTONXP SIZE 150,150 CAPTIONARRAY wlbcaption(150,150 ,chr(48),"Test 10",,"8.Arial",,)  PIXEL  COLOR GRA_CLR_WHITE,GRA_CLR_BLACK DROP {|o,x|testdrop(10,o,x,getlist)}

Re: Pushbutton drop problem

Posted: Tue Oct 30, 2018 12:26 am
by Victorio
Yes, I know that problem is only when drag drop used.
I am not using this functionality.
But similar problem i had when click to button and some process running and at this time i moved mouse over buttons, sometimes they change color.. Because i use disable buttons when some process selected and enable after e ded, some like modal

Re: Pushbutton drop problem

Posted: Tue Oct 30, 2018 8:28 am
by rdonnay
I will have to try to create the problem on a different computer when I get some time.

Re: Pushbutton drop problem

Posted: Tue Oct 30, 2018 8:23 pm
by c-tec
Hello Roger,
thank you, here I have on all computers the effect where I install it.
regards
Rudolf