Gui_Size continues only after releasing the mouse
Code: Select all
mygui := gui("Resize")
mygui.OnEvent("size", Gui_Size)
test := mygui.add("edit","w400 h30")
test.OnEvent("change",Ctrl_Change)
mygui.show
Ctrl_Change(GuiCtrlObj, *)
{
MsgBox(GuiCtrlObj.Value)
}
Gui_Size(GuiObj, MinMax, Width, Height)
{
mygui.GetPos(, ,&w,&h)
test.Move(, ,w-40,h-50)
}