File: FMain.class

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 (15 lines) | stat: -rw-r--r-- 461 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
' Gambas class file

Public Sub Form_Open()
    Db.Debug = True ' log all database requests made by the runtime
    Debug "Using connection: ", Db.Current.Url

    ' adjust column width
    With personDataBrowser.View
        .Columns[0].Width = 150 ' adjust column widths 
        .Columns[1].Width = 150
        .Columns[2].Width = 200
        .MoveTo(0, 0) ' activate first row so that data-bound controls get filled with data for this row
    End With
End