|
function table_vir(in OBJ,in Env,in row,in col,in sr,in sc){
auto H,W,X,Y;
set_window(Env,1);
obj_get_info(OBJ,"x",X);
obj_get_info(OBJ,"y",Y);
obj_get_info(OBJ,"height",H);
obj_get_info(OBJ,"width",W);
tbl_activate_cell("{class: table,virtual: TRUE,x: "X",y: "Y",width: "W",height: "H",rows: "row",columns: "col"}",sr,sc);
}
我想对识别出的OBJ对象动态的虚拟为TABLE控件,但是报错了:
Window: "FMP"
Object: "{class: table,virtual: TRUE,x: 166,y: 214,width: 730,height: 466,rows: 30,columns: 4}"
Error: Operation currently not valid for the object. |
|