-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfrmConfig.class
81 lines (45 loc) · 1.22 KB
/
frmConfig.class
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
' Gambas class file
' ### ADDITIONAL CONFIGURATION FORM ###
PUBLIC SUB Form_Show()
' set button focus:
frmMain.btnMain5.SetFocus
' set some background colours:
TextLabel1.BackColor = Global.HTMLBG
lblSubTitle.BackColor = Global.LogoBG
Panel1.BackColor = Global.LogoBG
END
PUBLIC SUB Form_Resize()
' Resize the html message:
TextLabel1.Width = ScrollView1.ClientWidth
TextLabel1.Adjust
END
PUBLIC SUB btnMBR_Click() 'Master Boot Record:
Global.enumLILOMODE = 0
Functions.BootMngrSet
END
PUBLIC SUB btnBootSec_Click() 'VL Boot Sector:
Global.enumLILOMODE = 1
Functions.BootMngrSet
END
PUBLIC SUB btnFloppy_Click() 'Floppy diskette:
Global.enumLILOMODE = 2
functions.BootMngrSet
END
PUBLIC SUB btnNoBM_Click() 'Do not install:
' Check for button execution:
IF Global.flagBUTTExec = TRUE THEN RETURN
' Flag button execution:
Global.flagBUTTExec = TRUE
Global.enumLILOMODE = 3
frmMain.btnMain5.Enabled = FALSE 'Disable "Configure".
frmMain.btnMain6.Enabled = TRUE 'Enable "Go for it!".
frmMain.btnMain6_Click 'Advance to "Go for it!".
' Unflag button execution:
Global.flagBUTTExec = FALSE
END
PUBLIC SUB Button5_Click() 'Config 1:
END
PUBLIC SUB Button6_Click() 'Config 2:
END
PUBLIC SUB TextLabel1_MouseDown()
END