Subject | Odd Checkbox drawing behaviour |
---|---|
Author | p3pp3rh3ad |
Post date | 2008-06-20T14:33:58Z |
I have a TIB_Checkbox connected to a boolean field. It mostly works,
but when the state is toggled, the check mark only comes and goes when
the mouse is moved into or out of the box. This is also true if the
state is toggled with the space bar(!). I've tried calling Repaint() on
the checkbox control in OnMouseDown, but that didn't work. The database
field does get toggled, but the appearance of the checkbox doesn't
always match the value.
I'm using the latest version of IBO. Anyone know of a work around?
Thanks,
Bruce
but when the state is toggled, the check mark only comes and goes when
the mouse is moved into or out of the box. This is also true if the
state is toggled with the space bar(!). I've tried calling Repaint() on
the checkbox control in OnMouseDown, but that didn't work. The database
field does get toggled, but the appearance of the checkbox doesn't
always match the value.
I'm using the latest version of IBO. Anyone know of a work around?
Thanks,
Bruce