VBGOOD上有个示例是用一个TEXTBOX放到上面,然后用代码定位,如同可修改一样

解决方案 »

  1.   


    在上面贴上一个textbox  With TxtEdit
                   .Left = msTable.CellLeft + msTable.Left
    '            Me.Text1.Text = msTable.LeftCol
                .Width = msTable.CellWidth
                .Height = msTable.CellHeight
                
                .Text = msTable.TextMatrix(msTable.Row, msTable.Col)
                .SelStart = 0
                .SelLength = Len(.Text)
                
          End With
    With TxtEdit
                   .Left = msTable.CellLeft + msTable.Left
    '            Me.Text1.Text = msTable.LeftCol
                .Width = msTable.CellWidth
                .Height = msTable.CellHeight
                
                .Text = msTable.TextMatrix(msTable.Row, msTable.Col)
                .SelStart = 0
                .SelLength = Len(.Text)
                
          End With