Aardio - 使用滴答表格
作者:互联网
滴答表格还是很漂亮的,而且支持底部冻结行,可以做合计使用。
使用滴答表格ocx,只能注册调用,不能免注册调用。
import win.ui;
/*DSG{{*/
var winform = win.form(text="aardio form";right=759;bottom=469)
winform.add(
static={cls="static";text="控件";left=11;top=10;right=745;bottom=455;db=1;dl=1;dr=1;dt=1;transparent=1;z=1}
)
/*}}*/
import com.activeX;
com.activeX.appData("aardio/com/DiDaSG.ocx",$"C:\Program Files\jjcsoft\DiDaSG\DiDaSG.ocx")
var embed = winform.static.createEmbed("{26300273-AC93-4F21-A145-14DB95C10804}");
var object = embed._object;
var gds = object.GridGetDefaultSetting()
gds.nRowHeight = 36
gds.strFontXml = `<font fontname = "宋体" fontsize = "10" ></font>`
gds.bIMResetInitRowHeight = 1
object.GridSetDefautSetting(gds)
object.GridSetFreezeBottomRows(1)
winform.show();
win.loopMessage();
标签:gds,表格,win,Aardio,object,static,var,滴答,winform 来源: https://blog.csdn.net/sdlgq/article/details/120800730