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)}