向下增加内容时,上面就看不到了?
import win.ui;
/*DSG{{*/
var winform = win.form(text="aardio form";right=349;bottom=469)
winform.add(
plus={cls="plus";text="我是顶部,多点下面按钮再来找我";left=69;top=20;right=309;bottom=75;forecolor=8421504;z=1};
plus2={cls="plus";text="点我一下";left=110;top=105;right=265;bottom=160;forecolor=8421504;notify=1;z=2}
)
/*}}*/
import win.ui.scrollbar;
var sc=win.ui.scrollbar(winform,true);
winform.plus2.oncommand = function(id,event){
owner.setPos(owner.left,owner.top+100);
}
winform.show();
win.loopMessage();