|
; L, P0 e: \! @! I. q改进了一下 绕过了GUI的环节, 这样更新多个货架的属性会方便些- treenode rack = node("RACK", model());//根据名称“RACK”引用货架" [7 k3 c g2 a- e
- function_s(node("/?Rack", library()),"BasicRefreshTable",rack,4,2,1,2);//设置层数 列数 高 宽
# k/ O8 ~8 S- j2 Y - treenode sizetable = getvarnode(rack, "sizetable");//获取货架的尺寸表格! Y) Q& m2 [ v; R, _# g, C
- settablenum(sizetable,1,1,2);//设置第一列第一层高度为2) o h! p1 @4 ], _
- function_s(node("/?Rack", library()), "RefreshTable", rack);//可直接更新 3 y" M# E6 @. s! A6 A2 c
- repaintview(current);
复制代码 ) e$ A: M2 B8 S G1 |
7 C7 [1 b% U8 }9 }1 V2 t |
|