![](https://aardio.online/upload/files/20240420/1713582744.gif)
import win.ui;
/*DSG{{*/
var winform = win.form(text="aardio form";right=759;bottom=469)
winform.add(
button={cls="button";text="Button";left=312;top=288;right=448;bottom=360;z=2};
edit={cls="edit";text="Edit";left=232;top=64;right=504;bottom=176;autovscroll=false;border=1;multiline=1;z=1}
)
/*}}*/
winform.button.oncommand = function(id,event){
var rect = winform.edit.getClientRect()
rect.top = winform.edit.height/2+winform.edit.font.h;
rect.bottom = winform.edit.height
winform.edit.setClientRect(rect)
winform.edit.onOk = λ()true;
}
winform.show();
win.loopMessage();