From Shell, 6 Months ago, written in GAMBAS.
Embed
  1. Public Sub DefinirGridViewDatos()
  2.  
  3.   With GridViewDatos
  4.     .Header = GridView.Both
  5.     .Rows.Count = 10
  6.     .Columns.Count = 3
  7.     .Columns[0].Title = "Primera Columna"
  8.     .Columns[1].Title = "Segunda Columna"
  9.     .Columns[2].Title = "Tercera Columna"
  10.     .Columns[0].Width = 120
  11.     .Columns[1].Width = 120
  12.     .Columns[2].Width = 120
  13.     .Font.Name = "Sans"
  14.     .Font.Size = 9
  15.     .Background = 16777215
  16.     .Foreground = 0
  17.