Jump to content
Sign in to follow this  

Selecting an Item in the list

Recommended Posts

Hi All

I am using the following code to select an item in a list:

ControlListView("Test Window", "", "SysListView321", "Select", $results[0])

The item in the list that i want to be selected is highlighted, however when the 'Enter' is send, the first item in the list opens up. It seems even though the item I want is selected, the first item remains active and is opened when Enter is sent.

How do I get around this? I have tried to find if there is any function that moves the mouse to the selected items index, but there doesnt seem to be one.

Thanks guys

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  

  • Create New...