# Gambas Form File 3.0

{ Form Form
  MoveScaled(0,0,98,59)
  Resizable = False
  { lblIntro Label
    MoveScaled(-1,0,99,6)
    Background = Color.LightForeground
    Alignment = Align.Center
    Border = Border.Plain
    Text = ("Example of how to use a (design-time) database connection and data-bound controls.")
  }
  { personDataSource DataSource
    MoveScaled(0,6,98,53)
    Connection = Connections["personConnection"]
    Table = "person2"
    { personDataBrowser DataBrowser
      MoveScaled(1,1,96,31)
      Columns = ["given_name", "sir_name", "birthdate"]
      Labels = ["Vorname", "Nachname", "Geburtstag"]
      Grid = True
    }
    { dataSex DataCombo
      MoveScaled(19,33,32,4)
      Field = "sex_id"
      Table = "sex"
      Display = "name"
    }
    { dataGivenName DataControl
      MoveScaled(19,38,32,4)
      Field = "given_name"
    }
    { dataSirName DataControl
      MoveScaled(19,43,32,4)
      Field = "sir_name"
    }
    { dataBirthdate DataControl
      MoveScaled(19,48,32,4)
      Field = "birthdate"
    }
    { Label1 Label
      MoveScaled(1,38,16,3)
      Text = ("Vorname")
    }
    { Label2 Label
      MoveScaled(1,43,16,3)
      Text = ("Nachname")
    }
    { Label3 Label
      MoveScaled(1,48,16,3)
      Text = ("Geburtstag")
    }
    { Label5 Label
      MoveScaled(1,33,17,3)
      Text = ("Geschlecht")
    }
  }
}
