NativeExcel suite v1.x

Visible property

Determines whether the fill is visible. Read/write Boolean

Syntax

property Visible: Boolean;

Example

This example hides the fill for the comment on cell B2
Var Comment: TXLSComment;
begin
  ...
  With Workbook.Sheets[1] do begin
    Comment := Range['B2', 'B2'].Comment;
    if Assigned(Comment) then Comment.Shape.Fill.Visible := false;
  end;
  ...
end;
Copyright © NikaSoft 2004-2010