📄 frmpydsc.frm
字号:
VERSION 5.00
Object = "{67397AA1-7FB1-11D0-B148-00A0C922E820}#6.0#0"; "MSADODC.OCX"
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Begin VB.Form FrmPydsc
BackColor = &H00FFFFFF&
BorderStyle = 1 'Fixed Single
Caption = "评语单生成"
ClientHeight = 7365
ClientLeft = 45
ClientTop = 435
ClientWidth = 6720
Icon = "FrmPydsc.frx":0000
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 7365
ScaleWidth = 6720
StartUpPosition = 1 '所有者中心
Begin VB.TextBox JgName
Alignment = 2 'Center
Appearance = 0 'Flat
BackColor = &H00808000&
BorderStyle = 0 'None
DataField = "姓名"
DataSource = "Adodc1"
BeginProperty Font
Name = "楷体_GB2312"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H000000FF&
Height = 360
Left = 3240
Locked = -1 'True
TabIndex = 2
Top = 6720
Width = 1215
End
Begin VB.CommandButton CmdPrint
Caption = "打印本页"
Height = 375
Left = 5400
TabIndex = 1
Top = 6720
Width = 1095
End
Begin VB.Frame Frame1
Appearance = 0 'Flat
BackColor = &H80000005&
Caption = "学生评语单"
ForeColor = &H80000008&
Height = 6375
Left = 120
TabIndex = 0
Top = 120
Width = 6495
Begin RichTextLib.RichTextBox RichTextBox2
DataField = "奖惩"
DataSource = "Adodc1"
Height = 1095
Left = 720
TabIndex = 3
Top = 4440
Width = 5415
_ExtentX = 9551
_ExtentY = 1931
_Version = 393217
Enabled = -1 'True
ReadOnly = -1 'True
TextRTF = $"FrmPydsc.frx":030A
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "楷体_GB2312"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin RichTextLib.RichTextBox RichTextBox1
DataField = "评语"
DataSource = "Adodc1"
Height = 3855
Left = 720
TabIndex = 4
Top = 360
Width = 5415
_ExtentX = 9551
_ExtentY = 6800
_Version = 393217
BorderStyle = 0
Enabled = -1 'True
ReadOnly = -1 'True
TextRTF = $"FrmPydsc.frx":03B0
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "楷体_GB2312"
Size = 14.25
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Label Label8
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
DataField = "班主任"
DataSource = "Adodc1"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 270
Left = 4920
TabIndex = 12
Top = 5880
Width = 165
End
Begin VB.Label Label1
Appearance = 0 'Flat
AutoSize = -1 'True
BackColor = &H80000005&
BackStyle = 0 'Transparent
BorderStyle = 1 'Fixed Single
DataField = "操行等级"
DataSource = "Adodc1"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H80000008&
Height = 270
Left = 2400
TabIndex = 11
Top = 5880
Width = 165
End
Begin VB.Label Label2
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "操行等级:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 1200
TabIndex = 10
Top = 5880
Width = 1275
End
Begin VB.Label Label3
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "班主任:"
BeginProperty Font
Name = "宋体"
Size = 12
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 240
Left = 3960
TabIndex = 9
Top = 5880
Width = 1020
End
Begin VB.Label Label4
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "评"
BeginProperty Font
Name = "黑体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 300
Left = 360
TabIndex = 8
Top = 1200
Width = 315
End
Begin VB.Label Label5
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "语"
BeginProperty Font
Name = "黑体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 300
Left = 360
TabIndex = 7
Top = 3360
Width = 315
End
Begin VB.Label Label6
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "奖"
BeginProperty Font
Name = "黑体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 300
Left = 360
TabIndex = 6
Top = 4680
Width = 315
End
Begin VB.Label Label7
AutoSize = -1 'True
BackStyle = 0 'Transparent
Caption = "惩"
BeginProperty Font
Name = "黑体"
Size = 15
Charset = 134
Weight = 700
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
ForeColor = &H00000000&
Height = 300
Left = 360
TabIndex = 5
Top = 5160
Width = 315
End
End
Begin MSAdodcLib.Adodc Adodc1
Height = 375
Left = 2640
Top = 6720
Width = 2415
_ExtentX = 4260
_ExtentY = 661
ConnectMode = 0
CursorLocation = 3
IsolationLevel = -1
ConnectionTimeout= 15
CommandTimeout = 30
CursorType = 3
LockType = 3
CommandType = 2
CursorOptions = 0
CacheSize = 50
MaxRecords = 0
BOFAction = 0
EOFAction = 0
ConnectStringType= 1
Appearance = 1
BackColor = -2147483643
ForeColor = -2147483640
Orientation = 0
Enabled = -1
Connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=.\DBase\SdMis.mdb;Persist Security Info=False"
OLEDBString = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=.\DBase\SdMis.mdb;Persist Security Info=False"
OLEDBFile = ""
DataSourceName = ""
OtherAttributes = ""
UserName = ""
Password = ""
RecordSource = "评语表"
Caption = ""
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
_Version = 393216
End
End
Attribute VB_Name = "FrmPydsc"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CmdPrint_Click()
On Error GoTo ErrPrint
Adodc1.Visible = False
CmdPrint.Visible = False
JgName.Visible = False
AutoRedraw = True
Me.PrintForm
CmdPrint.Visible = True
Adodc1.Visible = True
JgName.Visible = True
Exit Sub
ErrPrint:
MsgBox "打印机错误,请检查打印机!"
CmdPrint.Visible = True
Adodc1.Visible = True
JgName.Visible = True
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -