Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使数据窗口的某些行可编辑而某些行不可编辑?
我正在使用数据pfc_addrow()窗口的事件添加行,我希望其中一些是可编辑的,而其中一些是不可编辑的。
pfc_addrow()
有什么办法吗?
您可以在属性对话框中或像这样将所有列的“保护”属性设置为等于另一个隐藏列的值:
dw_1.Modify("column_name.Protect='hidden_column'")
然后在您希望不可编辑的行上,将隐藏列值设置为 1。