Jump to content

ListBox SelectString trouble


letopisez
 Share

Recommended Posts

it's my java code

autoit.ControlCommand(title, "", "ListBox1", "SetCurrentSelection", "myString");

it code has no effect.

But

String selected = autoit.ControlCommand(title, "", "ListBox1", "GetCurrentSelection", "");

working code

why? it is a bug, or i do wrong anything?

Link to comment
Share on other sites

  • 7 months later...

it's my java code

autoit.ControlCommand(title, "", "ListBox1", "SetCurrentSelection", "myString");

it code has no effect.

But

String selected = autoit.ControlCommand(title, "", "ListBox1", "GetCurrentSelection", "");

working code

why? it is a bug, or i do wrong anything?

I have same problem. The problem only occur when using AutoItX3.
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...