Jump to content

Trouble with GUICtrlCreateList


Recommended Posts

I've made a program wich uses quite a big list of items, when you select one item and push a button in the gui, the item will be used in a function.

But what i need it to do also, is when a item in the list is doubleclicked, use it in the function. (same as button pressed)

I tried to change the example from GUICtrlCreateListView doubleclick(from another topic) to work with a List, but i cant seem to get it to work.. :lmao:

Anybody got a idea how i can make it work ?

Thanks in advance.

Link to comment
Share on other sites

$list = guictrlcreatelist()

while 1

$msg = guigetmsg()

if $msg = $list then run( guictrlread($list))

wend

just an idea

8)

Thanks for the reply, i already have that part :lmao:

I need to intercept doubleclick on the List item, thát i can not get to work.

Link to comment
Share on other sites

While i'm asking questions, i also got a GUICtrlCreateInput, with a search button next to it.

Its working like this atm: fill something in the inputbox, and click the search button.

What i would like is: type something in the inputbox, and press Enter to search something also.

Again, Thanks in advance!

Link to comment
Share on other sites

While i'm asking questions, i also got a GUICtrlCreateInput, with a search button next to it.

Its working like this atm: fill something in the inputbox, and click the search button.

What i would like is: type something in the inputbox, and press Enter to search something also.

Again, Thanks in advance!

GuiCtrlSetState(control id, $GUI_DEFBUTTON)

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

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...