Главная страница | назад





Article #16973: Seting the number of fixed columns in a TDbGrid

 Question and Answer Database
FAQ1973D.txt Seting the number of fixed columns in a TDbGrid
Category :VCL
Platform :All
Product :All 32 bit
Question:
Is there any way to set the number of fixed columns in a TDbGrid?
Answer:
The following example demonstrates casting a TDbGrid component to
a TStringGrid component to surface the FixedCols property.
Example:
procedure TForm1.Button1Click(Sender: TObject);
begin
TStringGrid(DbGrid1).FixedCols := 2;
end;
7/16/98 4:31:28 PM

Last Modified: 01-SEP-99