标签:
public int active()
{
int ret;
dictTable m_dictTable = new DictTable(tableNum(Dbwork));
dictField m_dictField;
int i;
;
for (i =1 ;i <=m_dictTable.fieldCnt();i++)
{
m_dictfield = new dictField(tableNum(Dbwork),m_dictTable.fieldCnt2Id(i));
if(!m_dictField.isSystem())
{
if(!(m_dictField.id() == fieldNum(Dbwork,choose)))
Dbwork_ds.object(m_dictfield.id()).allowEdit(false);
}
}
ret = super();
return ret;
}
标签:
原文地址:http://www.cnblogs.com/AllenFeng/p/4651875.html