📄 frmchat.frm
字号:
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "RICHTX32.OCX"
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmChat
Caption = "快乐聊天室"
ClientHeight = 6585
ClientLeft = 60
ClientTop = 345
ClientWidth = 10620
Icon = "frmChat.frx":0000
LinkTopic = "Form1"
ScaleHeight = 6585
ScaleWidth = 10620
StartUpPosition = 2 '屏幕中心
WindowState = 2 'Maximized
Begin MSComctlLib.ImageList ImageList2
Left = 0
Top = 0
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 22
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 3
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmChat.frx":030A
Key = ""
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmChat.frx":079E
Key = ""
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmChat.frx":0C36
Key = ""
EndProperty
EndProperty
End
Begin VB.Frame Frame1
Height = 1095
Left = 0
TabIndex = 1
Top = 5040
Width = 10095
Begin VB.ComboBox cmbSelectUser
Height = 300
ItemData = "frmChat.frx":3B76
Left = 2280
List = "frmChat.frx":3B7D
TabIndex = 13
Text = "大家"
Top = 240
Width = 1575
End
Begin VB.ComboBox cmbShiYang
Height = 300
ItemData = "frmChat.frx":3B87
Left = 720
List = "frmChat.frx":3B94
Style = 2 'Dropdown List
TabIndex = 12
Top = 240
Width = 1095
End
Begin VB.TextBox Text1
Height = 270
Left = 4680
OLEDropMode = 1 'Manual
TabIndex = 11
Top = 240
Width = 2415
End
Begin VB.ComboBox cmbFontName
Height = 300
Left = 120
Sorted = -1 'True
Style = 2 'Dropdown List
TabIndex = 10
Top = 720
Width = 1695
End
Begin VB.ComboBox cmbFontSize
Height = 300
ItemData = "frmChat.frx":3BB0
Left = 2040
List = "frmChat.frx":3BD2
Style = 2 'Dropdown List
TabIndex = 9
Top = 720
Width = 1335
End
Begin VB.ComboBox cmbFontColor
Height = 300
ItemData = "frmChat.frx":3BFC
Left = 3600
List = "frmChat.frx":3C54
TabIndex = 8
Top = 720
Width = 1095
End
Begin VB.ComboBox cmbBiaoQ
Height = 300
ItemData = "frmChat.frx":3D70
Left = 4800
List = "frmChat.frx":3E88
TabIndex = 7
Text = "选择表情"
Top = 720
Width = 1215
End
Begin VB.ComboBox cmbQuY
Height = 300
ItemData = "frmChat.frx":4146
Left = 6120
List = "frmChat.frx":4210
TabIndex = 6
Text = "选择趣语"
Top = 720
Width = 2295
End
Begin VB.Frame Frame2
Height = 1095
Left = 9120
TabIndex = 3
Top = 0
Width = 975
Begin VB.Label Label8
Caption = "离开聊天"
Height = 255
Left = 120
MouseIcon = "frmChat.frx":43F5
MousePointer = 99 'Custom
TabIndex = 4
Top = 720
Width = 735
End
Begin VB.Label Label4
Caption = "清空屏幕"
Height = 255
Left = 120
MouseIcon = "frmChat.frx":46FF
MousePointer = 99 'Custom
TabIndex = 5
Top = 360
Width = 735
End
End
Begin VB.CommandButton Command1
Caption = "发言"
Default = -1 'True
Height = 375
Left = 7440
TabIndex = 2
Top = 240
Width = 615
End
Begin VB.Label lblUseName
AutoSize = -1 'True
Caption = "NoName"
Height = 180
Left = 120
TabIndex = 16
Top = 320
Width = 540
End
Begin VB.Label Label1
Caption = "对"
Height = 255
Left = 1920
TabIndex = 15
Top = 320
Width = 255
End
Begin VB.Label Label2
Caption = "说:"
Height = 255
Left = 3960
TabIndex = 14
Top = 320
Width = 375
End
Begin VB.Image Image1
Height = 360
Left = 4320
Picture = "frmChat.frx":4A09
Stretch = -1 'True
ToolTipText = "上一句"
Top = 240
Width = 360
End
Begin VB.Image Image2
Height = 360
Left = 7080
Picture = "frmChat.frx":4E4B
Stretch = -1 'True
ToolTipText = "下一句"
Top = 240
Width = 360
End
End
Begin MSComctlLib.ListView UserList
Height = 4815
Left = 8640
TabIndex = 0
Top = 0
Width = 1935
_ExtentX = 3413
_ExtentY = 8493
View = 3
LabelEdit = 1
LabelWrap = -1 'True
HideSelection = -1 'True
FullRowSelect = -1 'True
_Version = 393217
Icons = "ImageList2"
SmallIcons = "ImageList2"
ColHdrIcons = "ImageList2"
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
NumItems = 2
BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628}
Text = "标识"
Object.Width = 1411
EndProperty
BeginProperty ColumnHeader(2) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 1
Text = "姓名"
Object.Width = 2363
EndProperty
End
Begin MSComctlLib.StatusBar StatusBar1
Align = 2 'Align Bottom
Height = 375
Left = 0
TabIndex = 17
Top = 6210
Width = 10620
_ExtentX = 18733
_ExtentY = 661
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 5
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
AutoSize = 1
Object.Width = 12726
Picture = "frmChat.frx":528D
Text = "选取"
TextSave = "选取"
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 3
Object.Width = 776
MinWidth = 776
TextSave = "Ins"
EndProperty
BeginProperty Panel3 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 1
Enabled = 0 'False
Object.Width = 952
MinWidth = 952
TextSave = "CAPS"
EndProperty
BeginProperty Panel4 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 2
Object.Width = 1129
MinWidth = 1129
TextSave = "NUM"
EndProperty
BeginProperty Panel5 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Style = 5
TextSave = "13:03"
EndProperty
EndProperty
End
Begin RichTextLib.RichTextBox RTBox1
Height = 4815
Left = 0
TabIndex = 18
Top = 0
Width = 7875
_ExtentX = 13891
_ExtentY = 8493
_Version = 393217
BackColor = -2147483624
Enabled = -1 'True
ReadOnly = -1 'True
ScrollBars = 3
TextRTF = $"frmChat.frx":56E1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 9.75
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
End
Begin VB.Image imgLine
Height = 4815
Left = 8280
MousePointer = 9 'Size W E
Top = 0
Width = 60
End
End
Attribute VB_Name = "frmChat"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Public mThisName As String, mThisSex As String, IsLogin As Boolean
Private Sub cmbQuY_Click()
On Error Resume Next
Select Case cmbQuY.Text
Case "讨好"
Text1.Text = "抱拳团团一拜道:“敝人对各位的景仰之情,有如涛涛江水连绵不绝。"
Case "迷惑"
Text1.Text = "抓了抓头皮,露出迷惑的神情.... "
Case "晦气"
Text1.Text = "一脸的晦气,好象谁牵走了他的牛 "
Case "同意"
Text1.Text = "举双脚赞成"
Case "被温柔包围"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -