Sign in to follow this  
Followers 0
Dengaman

Selecting an item in Listview

1 post in this topic

Hi Guys,

i'm trying to test existing software with AutoIT and i alredy can do some small stuff with all the help here onthe forum after reading several threads.

But i have a problem with the listview properties.

My panel has 3 different small panels, 1 Treeview and 2 listviews.

After selecting an item in the treeview, i have to select a item in the 1st listview on which items appear in the 2nd listview.

But i have problem with the 1st listview. It contains listitems with checkboxes and i need to check if a checkbox is checked and if not, it needs to be checked.

i made the following code:

WinActivate("Open")
WinWaitActive("Open")
ControlTreeView( "Open", "", "SysTreeView321", "Select", "tree1|tree2|tree3")
ControlListView( "Open", "", "SysListView321", "Select", 2)
GUICtrlSetState ( 8102, $GUI_CHECKED )

8102 is the ControlID i got of the Listview from the Window Info Tool...

Can anyone help me?

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0