金蝶bos开发如何在插件中获取某个单元格的锁定状态
如何在插件中获取某个单元格的锁定状态
使用 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