CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - PBdatawindo
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - PBdatawindo - List
[
Program doc
]
pbdatawindow
DL : 0
pb datawindow 技巧 例子: 使DataWindow列只能追加不能修改 如何使DataWindow中的数据只能追加新记录而不能修改,利用 Column 的 Protect 属性可以很方便的做到这一点,方法如下: 将每一列的 Protect 属性设置为: If( IsRowNew(), 0, 1) ) 在 PowerScript 中可以动态修改 Protect 属性: dw_1.Modify("column_name_here.Protect= 1~tIf(IsRowNew(),0,1) ") 这样,DataWindow 中只有新追加的记录可修改,而其他记录是只读的。 -pb datawindow skills examples : DataWindow out so that not only additional change how the DataWindow data can only plus new record and can not be changed, Column using the Protect attribute can be conveniently do this, as follows : Each series will be the attribute set to Protect : If (IsRowNew (), 0, 1)) in PowerScript can be modified dynamically Protect attributes : dw_1.Modify ( "column_name_here.Protect ~ = 1 tIf (IsRowNew (), 0,1) "), so, Only new DataWindow additional records amended, and other records are read-only.
Date
: 2025-07-07
Size
: 9kb
User
:
童心
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.