//====================================================================
// 函数: w_outp_indection_desease_input::wf_init_taporder
//--------------------------------------------------------------------
// 描述: 将所有的列的taporder设置为0
//--------------------------------------------------------------------
// 参数:
// 无
//--------------------------------------------------------------------
// 返回值: (none)
//--------------------------------------------------------------------
// 作者: YJC 日期: 2016年09月25日
//--------------------------------------------------------------------
// 修改历史:
// 如果使用dw.Object.DataWindow.ReadOnly=Yes , 数据窗口的复选框仍然会被更改
//====================================================================
string ls_col
long ll_colcount
long ll_i
ll_colcount = long( dw_indection_desease.object.datawindow.Column.Count )
if isnull(ll_colcount) or ll_colcount <= 0 then return
for ll_i = 1 to ll_colcount
ls_col = dw_indection_desease.describe("#"+string(ll_i)+".name")
dw_indection_desease.SetTabOrder (ls_col,0)
next
PB 数据窗口字段全部设置为不可编辑状态
最新推荐文章于 2021-02-08 21:45:31 发布