首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

Adobe liveCycle表单自动递加

2012-06-27 
Adobe liveCycle表单自动递增/*点击add按钮,增加一行。必须满足三个条件 1.建立subform(top)、subform(a),su

Adobe liveCycle表单自动递增

/*点击add按钮,增加一行。必须满足三个条件 1.建立subform(top)、subform(a),subform(b),分别将a,b子表单嵌套在top表单中,为b表单添加“增加”和“删除”按钮; 2.选中a表单,在右下binding面板设置repeat subform for each data item,打钩,根据需求设置每次增加的行数; 3.选中“增加”按钮,在show下拉框中选择click事件, 增加事件有三种写法:1、(相对定位)this.parent.resolveNode("a").instanceManager.addInstance(this.index);  2、(绝对定位)xfa.form.form1.page.top.a.instanceManager.addInstance(this.index);  3、_a.addInstance(1); 在“删除”按钮增加事件:this.parent.resolveNode("a").instanceManager.removeInstance(this.index);*/this.parent.resolveNode("a").instanceManager.addInstance(this.index);

?

热点排行