Ok my mistake it was firing just a logic problem.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On
Behalf Of Alan Rose
Sent: Thursday, October 18, 2001 3:29 PM
To: Multiple recipients of list delphi
Subject: [DUG]: Stringgrid not repainting


Hi , I am using the ownerdraw method on a stringgrid and anything works fine
until I scroll the grid. for some reason the drawcell event is not firing
when a new section is scrolled into view. If I call the repaint method
manually (temp button) then that corrects the problem. However I should not
have to do this normally, plus I don't see how I can do something like

If Scrolling then grid.repaint;

anyone got any ideas what's going on


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/


---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to