I have created a ListView, which also has checkboxes:
Code: Select all
SymptomSelectLV := SSGui.Add("ListView", "Checked r20 w450", ["Symptom","System"])
However, I am having issue splitting out those that are ticked; right now it is collecting all of the text in column 1.
Code: Select all
Loop SymptomSelectLV.GetCount()
{
;Is the symptom checked?
IsChecked := ControlGetChecked("SysListView321") ;need help here, unsure how to do this and for each value of A_Index
If(IsChecked =1)
{
Value_SymptomsSelected := Value_SymptomsSelected . "," SymptomSelectLV.GetText(A_Index , 1) ;this grabs the text fine.
}
}