如何在插件中获取某个单元格的锁定状态

使用 IsFieldLockRuntime, 例子如下:
Dim dctField As KFO.Dictionary
    Dim sPKey As String
    Dim lIndex As Long
    Set dctField = m_BillInterface.GetFieldInfoByKey(""FText"", sPKey, lIndex)
    If m_BillInterface.BillCtl.IsFieldLockRuntime(dctField, 1) Then
        MsgBox ""locked""
    Else
        MsgBox ""not locked""
    End If
    Set dctField = Nothing

 

相关文章:

  • 2021-06-27
  • 2022-02-02
  • 2022-12-23
  • 2021-09-04
  • 2021-12-24
  • 2021-12-24
  • 2022-12-23
  • 2021-11-24
猜你喜欢
  • 2022-01-09
  • 2021-11-16
  • 2021-12-18
  • 2021-07-06
  • 2021-12-04
  • 2021-04-19
  • 2022-02-21
相关资源
相似解决方案