Hi Andy,
I dunno if it would help but you may try to use graphical checkbox instead of command buttom.
>
>I have a grid class that dynamically displays command buttons in a column bound to a logical field. If the fields value is true a command button with a picture of a Tick is displayed, if false a command button with no picture is displayed.
>What we are oberving with VFP8 with XP & themes turned on is that if the command button with the Tick is displayed and has focus and the mouse is moved off the control and then back on to the control the picture disappears while the mouse is over the control.
>
>Setting the themes property of the command buttons to .f. has no effect on the behaviour. Turing off themes at the operating system level results in the correct expected behaviour. Has anyone else observed this and does anyone have a suggested fix?
>
--sb--