Stopping DCPUSHBUTTONXP using mouseover
Posted: Tue Nov 13, 2018 5:29 am
Hi guys
Does anyone know if it's possible to stop DCPUSHBUTTONXP changing the button color when the mouse moves over it or when a button is clicked?
I know this feedback can be useful but we often have the problem where a button is clicked and the button does not return to it's normal unselected color.
The dialog then appears to have more than 1 button 'in focus', which just looks wrong.
I would set the MOUSECOLOR & CLICKCOLOR to the same values as the button itself, but the button itself uses a codeblock to set the the color dynamcially and MOUSECOLOR & CLICKCOLOR do not allow a codeblock to be used.
Does anyone know if it's possible to stop DCPUSHBUTTONXP changing the button color when the mouse moves over it or when a button is clicked?
I know this feedback can be useful but we often have the problem where a button is clicked and the button does not return to it's normal unselected color.
The dialog then appears to have more than 1 button 'in focus', which just looks wrong.
I would set the MOUSECOLOR & CLICKCOLOR to the same values as the button itself, but the button itself uses a codeblock to set the the color dynamcially and MOUSECOLOR & CLICKCOLOR do not allow a codeblock to be used.