12-29-2022, 07:11 PM
I have my own windows form that I am working with. I have a check box list and also a list box. I need to check one of the check boxes in the list named LOG. I then want to determine how many lines are in the list box (actually just need to know if it is empty).
//check the LOG box
int w1=win("MyWindow" "TMainForm")
int w2=win("MyWindow" "TMainForm")
Acc a.Find(w2 "LISTITEM" "LOG" "class=TCheckListBox" 0x1005)
a.State = 1
I'm stuck here.
Thanks for any help.
Brian
[img]Desktop\qmquestion.png[/img]
//check the LOG box
int w1=win("MyWindow" "TMainForm")
int w2=win("MyWindow" "TMainForm")
Acc a.Find(w2 "LISTITEM" "LOG" "class=TCheckListBox" 0x1005)
a.State = 1
I'm stuck here.
Thanks for any help.
Brian
[img]Desktop\qmquestion.png[/img]