
(*
 Delphi Object and Component Reference
# {bmc bm9.BMP} DefaultColWidth, GridLineWidth example
This example includes a draw grid on a form. When the application runs and the form is created, the width of the lines on the draw grid changes if the default column width of the grid is over 90 pixels wide:
*) 
void __fastcall TForm1::FormCreate(TObject *Sender)
{
  if (DrawGrid1->DefaultColWidth > 90)
    DrawGrid1->GridLineWidth = 2;
  else
    DrawGrid1->GridLineWidth = 1;
} 
