Page 1 of 1

[v2] Gui picture value empty problem

Posted: 24 Oct 2018, 01:53
by rodemp

Code: Select all

Gui:=GuiCreate()
vpic:=Gui.Add("pic", "x0 y0")
Gui.Show("w400 h400")
Gui.OnEvent("Close", () => ExitApp())
Return
F1::
vpic.value:="pic.png"
return

F2::
vpic.value:="" ; invalid value error
return
Temporarily resolved using try

try
vpic.value:=""

Re: Gui picture value empty problem

Posted: 24 Oct 2018, 07:18
by swagfag
set ctrl.Visible and ctrl.Enabled to false

Re: [v2] Gui picture value empty problem  Topic is solved

Posted: 09 Jun 2020, 17:51
by lexikos
I forgot to mark this off when it was fixed, by commit 82e32324 (v2.0-a101).