Тема: AHK: GUI, изменение цвета TAb после нажатия button
Добрый вечер! Подскажите пож-та, возможно ли изменить вид вкладки (цвет или шрифт), если в это вкладке была нажата кнопка. Заранее спасибо!
Gui, color, 0xFFFFFF
Gui, Font, S10 CDefault, Verdana
Gui, Add, Tab2, x30 y90 w900 h50 Buttons vTAB_BUTTON, 1|2|
Gui, Font, S14 CDefault Bold Italic, Verdana
Gui, Tab, 1
Gui, Add, Text, x102 y+40 w710 h60, Who is it?
Gui, Add, Button, v11 x60 y+30 w190 h60 g11, 1
Gui, Add, Button, v12 x+60 y248 w190 h60 g12, 2
Gui, Add, Button, v13 x+60 y248 w190 h60 g13, 3
Gui, Tab, 2
Gui, Add, Text, x102 y+40 w710 h60, WTF?
Gui, Add, Button, v21 x60 y+30 w190 h60 g21, 1
Gui, Add, Button, v22 x+60 y248 w190 h60 g22, 2
Gui, Add, Button, v23 x+60 y248 w190 h60 g23, 3
Gui, Show, w860 h724, Untitled GUI
return
11:
GuiControl, Disable, 11
GuiControl, Enable, 12
GuiControl, Enable, 13
sleep 300
GuiControl, Choose, TAB_BUTTON, 2
return
12:
GuiControl, Disable, 12
GuiControl, Enable, 11
GuiControl, Enable, 13
sleep 300
GuiControl, Choose, TAB_BUTTON, 2
return
13:
GuiControl, Disable, 13
GuiControl, Enable, 11
GuiControl, Enable, 12
sleep 300
GuiControl, Choose, TAB_BUTTON, 2
return
21:
GuiControl, Disable, 21
GuiControl, Enable, 22
GuiControl, Enable, 23
return
22:
GuiControl, Disable, 22
GuiControl, Enable, 21
GuiControl, Enable, 23
return
23:
GuiControl, Disable, 23
GuiControl, Enable, 21
GuiControl, Enable, 22
return
Esc::ExitApp