That may be partly my problem. DefaultDraw was set to true, and I am
drawing the cells in response to a mouse event.
However, I have now set DefaultDraw to false, and the problem is still
there.
The behaviour is also different between the right and left mouse buttons.
I will try to create a small app to show it. If not, I'll put my messy
code (with apologies) on my website for you to have a look at.
Mike Sapsard
On Fri, 27 Apr 2007 17:47:55 +0100, Jesus Reyes <[EMAIL PROTECTED]>
wrote:
--- Mike Sapsard <[EMAIL PROTECTED]> escribió:
When a hint from another screen object, such as a button, passes
over a
Drawgrid the Drawgrid returns the affected cell color to the
drawgrid
background color. Is this the intended behaviour?
If so, how should I work around it?
I am using the Daily download from 26/04/2007 om Windows XP Home.
Mike Sapsard
All depends if you are using DefaultDrawing or not and how are you
drawing the cells, if DefaultDrawing is true, the grid will attempt
to draw cells using grids.color before the call to OnDrawCell.
I guess I need to see the a sample application reproducing the
problem to know if it's an application or a grid problem.
Jesus Reyes A.
__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis!
Regístrate ya - http://correo.yahoo.com.mx/
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives
--
Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives