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 (41 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (4)
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
' Gambas class file

Private $hReport As Report

Public Sub _new()

  Application.MainWindow = Me

End

Public Sub Form_Open()

  Me.Center

End

Public Sub btnReport_Click()

  $hReport = New Report1(Null, LCase(cmbServer.Text))
  $hReport.Preview()

End

Public Sub btnAbout_Click()

  Message.Info(("A simple report example by Fabien Bodard"))

End

Public Sub btnClose_Click()

  Me.Close

End

Public Sub btnReport2_Click()

  $hReport = New Report3(LCase(cmbServer.Text))
  $hReport.Preview()

End