File: FMain.form

package info (click to toggle)
gambas3 3.20.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 77,208 kB
  • sloc: ansic: 197,232; cpp: 124,273; sh: 18,999; javascript: 7,761; sql: 5,399; makefile: 2,358; perl: 1,397; xml: 490; python: 335
file content (58 lines) | stat: -rw-r--r-- 1,374 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# 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")
    }
  }
}