It seems F1 cells color is different from what it should be. For example, using color 10025016 begin myF1.setSelection(1,1,2,2); myF1.setPattern(1, 10025016, 0); myShape1.Brush.Color := 10025016; end; Shape color and the cell color are quite different. Any idea? Thanks Yanbo --------------------------------------------------------------------------- New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED] Website: http://www.delphi.org.nz