I wanted to create a form with multiple where checkboxes can be selected.
I came across this post: https://autohotkey.com/board/topic/2473 ... utton-gui/
I appreciate the idea of
Code: Select all
if IsLabel(A B C D) ; (implicit . concatenation)
gosub % A B C D
0000:
MsgBox, A=0 B=0 C=0 D=0
return
1000:
MsgBox, A=1 B=0 C=0 D=0
return
0100:
MsgBox, A=0 B=1 C=0 D=0
return
1100:
MsgBox, A=1 B=1 C=0 D=0
return
; etc.
The GUI i want to create has 19 checkboxes and will have 361 possible combinations .
Is there an efficient way to make it possible where the user can select multiple checkboxes instead of the method i posted? e.g. using arrays?
Thanks
hymal7