Library Vcl NextSuite 6 NextGrid6 Reference Classes TNxGraphicColumn6

TNxGraphicColumn6

Column capable for displaying TGraphic descendants (such as TJPEGImage, TIcon, TBitmap...) assigned to cell via Data property of Cell.

Unit: NxColumns6.pas (SourcesNext Grid)

Usage

  1. Add NextGrid6 on Form with one NxGraphicColumn6
  2. Attach TGraphic object to the Data property of Cell.

pas
var
  MyBitmap: TBitmap;
begin
  MyBitmap := TBitmap.Create;
  MyBitmap.LoadFromFile('My Bitmap On Disk.bmp');
  NextGrid61.AddRow;
  NextGrid61.Cell[0, NextGrid61.LastAddedRow].Data := MyBitmap;
end;

Sign in