按钮显示加载中

admin2021-08-21  118

import win.ui;
/*DSG{{*/
var winform = win.form(text="aardio form";right=759;bottom=469)
winform.add(
button={cls="button";text="开始";left=314;top=306;right=452;bottom=349;z=1}
)
/*}}*/

winform.button.oncommand = function(id,event){
	winform.button.disabledText="努力工作中...";
	win.delay(5000);
	winform.button.disabledText=null;
}

winform.show();
win.loopMessage();

 

转载请注明原文地址: http://aardio.net/read-198.html
最新回复(0)