Page 1 of 1

Stopping DCPUSHBUTTONXP using mouseover

Posted: Tue Nov 13, 2018 5:29 am
by reganc
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.

Re: Stopping DCPUSHBUTTONXP using mouseover

Posted: Tue Nov 13, 2018 8:09 am
by rdonnay
Are you able to write a sample that causes this problem?

If you can, then I can debug it and fix it.

I put a lot of code in that class to make sure that it doesn't happen.