AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GuiControl,,xxxx,yy.ico does not work with tabbed gui

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
hanspeter
Guest





PostPosted: Tue May 17, 2005 5:46 pm    Post subject: GuiControl,,xxxx,yy.ico does not work with tabbed gui Reply with quote

See the following script. If line one and two are activated, the icon disapears.
A minimize / restore of the gui helps, as the change to an other tab and back.

Without the tabs, the script works well.
Code:
;Gui, Add,Tab, vtabs w200 h100 , 1|2|3
;Gui,Tab,1
Gui,Add,Edit,Section r1 w70 readonly  , PFWS
Gui,Add,Edit,x+10  r1 w70  vPFWSi , nok
Gui, Add, Picture,x+5 w22 h22 vPFWSp,quest.ico
Gui, Add,Button,xs , Check
Gui, Show ,,Test2
return

ButtonCheck:
GuiControlGet,PFWSi
if PFWSi <> nok
 Guicontrol,,PFWSp,ok.ico
else
 Guicontrol,,PFWSp,nok.ico
;Gui, Show
return

GuiClose:
GuiEscape:
ExitApp

the "Gui,Show" does not solve the problem.
Back to top
Chris
Site Admin


Joined: 02 Mar 2004
Posts: 10480

PostPosted: Wed May 18, 2005 1:34 am    Post subject: Reply with quote

Thanks, I'm going to look into that. As a work-around, you can try adding the following two lines after using GuiControl to change the icon:

Gui +LastFound
WinSet Redraw

Edit: I believe this issue has been fixed in today's update.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Bug Reports All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group