[v2] Gui picture value empty problem Topic is solved

Report problems with documented functionality
rodemp
Posts: 44
Joined: 15 Nov 2016, 00:28

[v2] Gui picture value empty problem

24 Oct 2018, 01:53

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:=""
swagfag
Posts: 3923
Joined: 11 Jan 2017, 17:59

Re: Gui picture value empty problem

24 Oct 2018, 07:18

set ctrl.Visible and ctrl.Enabled to false
lexikos
Posts: 6989
Joined: 30 Sep 2013, 04:07
GitHub: Lexikos

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

09 Jun 2020, 17:51

I forgot to mark this off when it was fixed, by commit 82e32324 (v2.0-a101).

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 3 guests