Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TAdvStringGrid
How to display special chars in a cell

Example: to have arrows displayed in a cell, you can use:
begin
  advstringgrid1.FontNames[1,1] := 'Wingdings 3';
  advstringgrid1.Cells[1,1] := #33;
  advstringgrid1.FontNames[1,2] := 'Wingdings 3';
  advstringgrid1.Cells[1,2] := #34;
  advstringgrid1.FontNames[2,1] := 'Wingdings 3';
  advstringgrid1.Cells[2,1] := #35;
  advstringgrid1.FontNames[2,2] := 'Wingdings 3';
  advstringgrid1.Cells[2,2] := #36;
end;
Result: