📄 menu45.frm
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form winmenu45
BorderStyle = 0 'None
Caption = "物业档案管理"
ClientHeight = 5580
ClientLeft = 1335
ClientTop = 705
ClientWidth = 9600
Icon = "menu45.frx":0000
LinkTopic = "Form2"
MaxButton = 0 'False
MDIChild = -1 'True
MinButton = 0 'False
ScaleHeight = 5580
ScaleWidth = 9600
ShowInTaskbar = 0 'False
Begin VB.CommandButton cmdAdd
Cancel = -1 'True
Caption = "增加"
Height = 375
Left = 4240
TabIndex = 10
Top = 3840
Width = 855
End
Begin VB.CommandButton Comsave
Caption = "确定"
Enabled = 0 'False
Height = 375
Left = 5100
TabIndex = 9
Top = 4210
Width = 855
End
Begin VB.Data Data1
Appearance = 0 'Flat
Caption = "Data1"
Connect = "Access"
DatabaseName = ""
DefaultCursorType= 0 '缺省游标
DefaultType = 2 '使用 ODBC
Exclusive = 0 'False
Height = 315
Left = 4950
Negotiate = -1 'True
Options = 0
ReadOnly = 0 'False
RecordsetType = 1 'Dynaset
RecordSource = ""
Top = 5160
Visible = 0 'False
Width = 1155
End
Begin VB.CommandButton cmdClose
Caption = "取消"
Enabled = 0 'False
Height = 375
Left = 5950
TabIndex = 15
Top = 4210
Width = 855
End
Begin VB.CommandButton cmdedit
Caption = "修改"
Height = 375
Left = 5100
TabIndex = 11
Top = 3840
Width = 855
End
Begin VB.CommandButton cmdDelete
Caption = "删除"
Height = 375
Left = 5950
TabIndex = 12
Top = 3840
Width = 855
End
Begin VB.TextBox text1
DataField = "联系电话"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 5
Left = 4980
Locked = -1 'True
MaxLength = 15
TabIndex = 8
Top = 3120
Width = 1900
End
Begin VB.TextBox text1
DataField = "地理位置"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 4
Left = 4980
Locked = -1 'True
MaxLength = 30
TabIndex = 7
Top = 2760
Width = 1900
End
Begin VB.TextBox text1
DataField = "启用日期"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 2
Left = 4980
Locked = -1 'True
MaxLength = 10
TabIndex = 2
Top = 960
Width = 1260
End
Begin VB.TextBox text1
DataField = "楼数"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 3
Left = 4980
Locked = -1 'True
MaxLength = 2
TabIndex = 6
Top = 2400
Width = 1260
End
Begin VB.TextBox ttFields
DataField = "绿化面积"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 2
Left = 4980
Locked = -1 'True
MaxLength = 10
TabIndex = 5
Top = 2040
Width = 1260
End
Begin VB.TextBox ttFields
DataField = "硬化面积"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 1
Left = 4980
Locked = -1 'True
MaxLength = 10
TabIndex = 4
Top = 1680
Width = 1260
End
Begin VB.TextBox ttFields
BeginProperty DataFormat
Type = 1
Format = "#,##0.00"
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 1
EndProperty
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 0
Left = 4980
Locked = -1 'True
MaxLength = 10
TabIndex = 3
Top = 1320
Width = 1260
End
Begin VB.TextBox text1
DataField = "名称"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 1
Left = 4980
Locked = -1 'True
MaxLength = 20
TabIndex = 1
Top = 600
Width = 1260
End
Begin VB.TextBox text1
DataField = "小区编号"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 315
Index = 0
Left = 4980
Locked = -1 'True
MaxLength = 2
TabIndex = 0
Top = 240
Width = 1260
End
Begin MSFlexGridLib.MSFlexGrid bg
Height = 5580
Left = 0
TabIndex = 13
Top = 0
Width = 4000
_ExtentX = 7064
_ExtentY = 9843
_Version = 393216
Cols = 9
RowHeightMin = 300
ForeColor = 12615680
ForeColorFixed = 8421376
BackColorBkg = 16777215
TextStyleFixed = 4
GridLines = 3
GridLinesFixed = 3
FormatString = $"menu45.frx":030A
End
Begin VB.Frame Frame1
Caption = "信息编辑"
ForeColor = &H00C00000&
Height = 5550
Left = 6600
TabIndex = 16
Top = 20
Width = 2860
Begin VB.CommandButton Command3
Height = 315
Left = 2160
Picture = "menu45.frx":03B0
Style = 1 'Graphical
TabIndex = 28
Top = 2400
UseMaskColor = -1 'True
Width = 315
End
Begin VB.CommandButton Command1
Caption = "检索"
Height = 375
Left = 130
TabIndex = 27
Top = 4200
Width = 855
End
Begin VB.CommandButton Cmdtc
Caption = "退出"
Height = 375
Left = 990
TabIndex = 14
Top = 4740
Width = 855
End
Begin VB.Image Image3
Height = 360
Left = 2160
Picture = "menu45.frx":05BA
Stretch = -1 'True
Top = 960
Width = 315
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "联系电话"
Height = 180
Index = 18
Left = 120
TabIndex = 26
Top = 3240
Width = 720
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "地理位置"
Height = 180
Index = 17
Left = 120
TabIndex = 25
Top = 2880
Width = 720
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "楼 数"
Height = 180
Index = 15
Left = 120
TabIndex = 23
Top = 2520
Width = 720
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "绿化面积"
Height = 180
Index = 14
Left = 120
TabIndex = 22
Top = 2160
Width = 720
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "硬化面积"
Height = 180
Index = 13
Left = 120
TabIndex = 21
Top = 1800
Width = 720
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "占地面积"
Height = 180
Index = 12
Left = 120
TabIndex = 20
Top = 1440
Width = 720
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "启用日期"
Height = 180
Index = 11
Left = 120
TabIndex = 19
Top = 1080
Width = 720
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "名 称"
Height = 180
Index = 10
Left = 120
TabIndex = 18
Top = 720
Width = 720
End
Begin VB.Label lblLabels
AutoSize = -1 'True
Caption = "小区编号"
Height = 180
Index = 9
Left = 120
TabIndex = 17
Top = 360
Width = 720
End
End
Begin VB.Label lblLabels
Caption = "楼 数:"
BeginProperty Font
Name = "宋体"
Size = 10.5
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Height = 255
Index = 16
Left = 0
TabIndex = 24
Top = 0
Width = 1005
End
End
Attribute VB_Name = "winmenu45"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim adedbj As Integer
Dim editbl As String '修改时存放原来小区编号
Public Sub bgsx()
Data1.Refresh
If bg.Rows > 2 Then
Do While bg.Rows - 1 > 1
bg.RemoveItem (1)
Loop
bg.Col = 0
bg.Text = ""
Else
bg.Col = 0
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -