formulabuildfrm.frm
来自「guan yu pai ke xi tong de ruan jian」· FRM 代码 · 共 552 行 · 第 1/2 页
FRM
552 行
VERSION 5.00
Begin VB.Form FormulaBuildFrm
Caption = "公式生成器"
ClientHeight = 7095
ClientLeft = 60
ClientTop = 450
ClientWidth = 8535
Icon = "FormulaBuildFrm.frx":0000
LinkTopic = "Form1"
ScaleHeight = 7095
ScaleWidth = 8535
StartUpPosition = 3 '窗口缺省
Begin VB.Frame Frame2
Caption = "时限公式:"
Height = 735
Left = 0
TabIndex = 7
Top = 3480
Width = 3015
Begin VB.TextBox Text1
Height = 375
Left = 120
TabIndex = 8
Text = "Text1"
ToolTipText = "在此输入公式,按回车键更新显示。"
Top = 240
Width = 2655
End
End
Begin VB.PictureBox Picture2
Height = 2895
Left = 0
ScaleHeight = 2835
ScaleWidth = 2715
TabIndex = 5
Top = 0
Width = 2775
Begin VB.PictureBox Picture1
AutoRedraw = -1 'True
BackColor = &H80000009&
Height = 1935
Left = 360
ScaleHeight = 1875
ScaleWidth = 3795
TabIndex = 6
ToolTipText = "单击更改状态。单击列或行标志,相应数据同时更改。"
Top = 360
Width = 3855
End
End
Begin VB.CommandButton Command2
Height = 225
Left = 2760
TabIndex = 4
Top = 2880
Width = 255
End
Begin VB.VScrollBar VScroll1
Height = 3255
Left = 2760
TabIndex = 3
Top = -360
Width = 255
End
Begin VB.HScrollBar HScroll1
Height = 255
Left = 0
TabIndex = 2
Top = 2880
Width = 2775
End
Begin VB.Frame Frame1
BorderStyle = 0 'None
Height = 6255
Left = 3000
TabIndex = 0
Top = 360
Width = 4095
Begin VB.CommandButton Command1
Caption = "应用"
Height = 495
Index = 1
Left = 1920
TabIndex = 22
Top = 5760
Width = 975
End
Begin VB.Frame Frame5
Caption = "修改类型:"
Height = 1455
Left = 2160
TabIndex = 23
Top = 3960
Width = 1815
Begin VB.OptionButton Option2
Caption = "替换"
Height = 255
Index = 1
Left = 240
TabIndex = 25
Top = 960
Value = -1 'True
Width = 855
End
Begin VB.OptionButton Option2
Caption = "追加"
Height = 255
Index = 0
Left = 240
TabIndex = 24
Top = 480
Width = 855
End
End
Begin VB.Frame Frame4
Caption = "当前选择:"
Height = 3735
Left = 120
TabIndex = 13
Top = 0
Width = 3855
Begin VB.ListBox List1
Height = 1320
Index = 3
ItemData = "FormulaBuildFrm.frx":08CA
Left = 2040
List = "FormulaBuildFrm.frx":08CC
MultiSelect = 1 'Simple
TabIndex = 21
Top = 2280
Width = 1695
End
Begin VB.ListBox List1
Height = 1320
Index = 0
ItemData = "FormulaBuildFrm.frx":08CE
Left = 120
List = "FormulaBuildFrm.frx":08D0
MultiSelect = 1 'Simple
TabIndex = 16
Top = 480
Width = 1695
End
Begin VB.ListBox List1
Height = 1320
Index = 1
ItemData = "FormulaBuildFrm.frx":08D2
Left = 2040
List = "FormulaBuildFrm.frx":08D4
MultiSelect = 1 'Simple
TabIndex = 15
Top = 480
Width = 1695
End
Begin VB.ListBox List1
Height = 1320
Index = 2
ItemData = "FormulaBuildFrm.frx":08D6
Left = 120
List = "FormulaBuildFrm.frx":08D8
MultiSelect = 1 'Simple
TabIndex = 14
Top = 2280
Width = 1695
End
Begin VB.Label 班级
Caption = "资源:"
Height = 255
Index = 3
Left = 2040
TabIndex = 20
Top = 1920
Width = 855
End
Begin VB.Label 班级
Caption = "科目:"
Height = 255
Index = 2
Left = 120
TabIndex = 19
Top = 1920
Width = 855
End
Begin VB.Label 班级
Caption = "教师:"
Height = 255
Index = 1
Left = 2040
TabIndex = 18
Top = 240
Width = 855
End
Begin VB.Label 班级
Caption = "班级:"
Height = 255
Index = 0
Left = 120
TabIndex = 17
Top = 240
Width = 855
End
End
Begin VB.Frame Frame3
Caption = "应用于:"
Height = 1455
Left = 120
TabIndex = 9
Top = 3960
Width = 1935
Begin VB.OptionButton Option1
Caption = "当前记录"
Height = 255
Index = 0
Left = 360
TabIndex = 12
Top = 360
Value = -1 'True
Width = 1095
End
Begin VB.OptionButton Option1
Caption = "所有记录"
Height = 255
Index = 1
Left = 360
TabIndex = 11
Top = 720
Width = 1095
End
Begin VB.OptionButton Option1
Caption = "当前选择"
Height = 255
Index = 2
Left = 360
TabIndex = 10
Top = 1080
Width = 1095
End
End
Begin VB.CommandButton Command1
Caption = "关 闭"
Height = 495
Index = 0
Left = 3000
TabIndex = 1
Top = 5760
Width = 975
End
End
End
Attribute VB_Name = "FormulaBuildFrm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'说明。
'1、将允许的课时和禁止的课时用不同的颜色显示:
' 绿色表示允许;红色表示禁止。
'2、单击某单元格,该单元格将在允许,禁止二种状态下变换。
Public TemDataSet As MDD_Data
Public AbsolutePosition As Long '当前记录位置。
Public RowHeight As Long '行高。
Public ColWidth As Long '列宽。
Private ViewDataMode() As Boolean '允许状态(用于显示)。
Private Sub ViewRefresh()
Dim Lcount() As Long '表示各单元格的允许/禁止状态(用于过程调用)。
Dim TemNum As Long
Dim TemStr As String
Dim PrintTop As Long
Dim Duan As Long
Dim ForIndex As Long
Me.Picture1.Cls
'显示空表格。
TemDataSet.PrintTableOne Me.Picture1, 0, 0, ColWidth, RowHeight, , 0, 0, 0, False
'根据当前记录总结可用课时代号。
TemNum = 0
For Duan = 0 To 4
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?