📄 form1.frm
字号:
VERSION 5.00
Object = "{5E9E78A0-531B-11CF-91F6-C2863C385E30}#1.0#0"; "MSFLXGRD.OCX"
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3195
ClientLeft = 60
ClientTop = 345
ClientWidth = 4680
LinkTopic = "Form1"
ScaleHeight = 3195
ScaleWidth = 4680
StartUpPosition = 3 'Windows Default
Begin VB.TextBox tx_sl
Height = 405
Left = 2460
TabIndex = 1
Text = "Text1"
Top = 150
Width = 2085
End
Begin MSFlexGridLib.MSFlexGrid gd1
Height = 1635
Left = 780
TabIndex = 0
Top = 780
Width = 3195
_ExtentX = 5636
_ExtentY = 2884
_Version = 327680
FixedCols = 0
End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
'**************************************************************************************************
Private Sub gd1_RowColChange()
If gd1.Rows - 1 <> 0 And gd1.Col = 1 Then
tx_sl.Visible = True
tx_sl.Left = gd1.CellLeft + gd1.Left
tx_sl.Top = gd1.CellLeft + gd1.Top
tx_sl.Height = gd1.CellHeight
tx_sl.Width = gd1.CellWidth
tx_sl.Text = gd1.TextArray(gd1.Row * t_fdcounts + 1)
Else
tx_sl.Visible = False
End If
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -