Nermin Ilgın
Nermin Ilgın

Reputation: 111

Setting a StringGrid column header height

There is a my vcl application. In form, there is a StringGrid. I want to set column header height but I dont know that how it do. So the questions is: how to set StringGrid column header auto row height because column row width is not certain

Upvotes: 0

Views: 3008

Answers (1)

Sir Rufo
Sir Rufo

Reputation: 19096

There is no real column header in a TStringGrid, just a number of fixed rows (default 1).

Just set the height for the row you want with the indexed property TStringGrid.RowHeights

StringGrid1.RowHeights[0] := 42; // set first row height

Upvotes: 6

Related Questions