Method Gui.Options() does not work anymore - Gui.Opt() has to be used instead.
As documentation states, both variants (Gui.Opt() or Gui.Options()) should work ...
This is either a bug in AHK2 a104 itself (both variants should work) . or in documentation of a104 (Gui.Options() documentation should be removed)
Code: Select all
MyGui := GuiCreate(,"TestGui")
MyGui.Add("Text", "x10 y1 h30 vWindowTitle Center", "TestIt")
MyGui.Opt("+Resize +MinSize200x100") ; <------ WORKS
; MyGui.Options("+Resize +MinSize200x100") ; <------ DOES NOT WORK ANYMORE
MyGui.Title := "GUI Testing"
MyGui.OnEvent("Close", "Test_OnClose")
MyGui.Show
Test_OnClose(Gui) {
ExitApp
}