# Gambas Form File 3.0

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