在拉撒路(也可能DELPHI)文檔約grids,我們可以找到的InsertRow功能下一描述: Function InsertRow
Inserts a row in the grid and sets
the Key-Value pair. Returns the
index of the newly inserted row.
這是什麼鍵值對?
我想爲TStringGrid實現一個FillCell過程。我想用某種顏色填充某個單元格,但僅當單元格(行)沒有被選中時填充。 procedure TMyStrGrid.FillCell(Rect: TRect; aColor: TColor);
begin
//if NOT (gdSelected in State) then <---- how do I obtain the 'State'