hanspeter Guest
|
Posted: Tue May 17, 2005 5:46 pm Post subject: GuiControl,,xxxx,yy.ico does not work with tabbed gui |
|
|
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. |
|