20230227 2014 

 

REF

[1] "https://www.autohotkey.com/docs/v1/lib/Gui.htm#Font"

 

체크박스 체크를 하면 글자 모양, 색깔이 바뀐다.

▶ 4줄, vy%A_index%가 id역할을 한다. => 16줄에 보면 y%A_index%라고 표시되어있음

 

znmb:=3
loop, %znmb%{
    Gui, Add, checkbox, gGoto_checkbox vx%A_index% , %A_index% 20230227 1300 	
    Gui, Add, text, vy%A_Index%, %A_index% 20230227 1300 	
}
Gui, show,,test
return

Goto_checkbox:
  Gui, submit, nohide
  loop, %znmb%{
	  ztmp:="x"A_index
	  if(%ztmp%=1) {
		  ;Gui, font, s8 cFF0000 Bold italic underline , Verdana
		  Gui, font, cFF0000 bold
		  GuiControl, Font, y%A_Index%
	  }		  
  }
   loop, %znmb%{
	  ztmp:="x"A_index
	  if(%ztmp%=0) {
		  Gui, font, cDefault norm
		  GuiControl, Font, y%A_Index%
	  }		  
  } 
return

return ;main
ExitApp ;main
Posted by Weneedu
,


출처: https://privatedevelopnote.tistory.com/81 [개인노트]