Jump to content

GUICtrlSetData with Combo / list


Gerry
 Share

Recommended Posts

Hi All

Sorry to bug. I have never really worked with the Gui part of AutoIt.

I used Koda to create a Gui, a few edit boxes, combo, buttons and a single list. These are many blank except for the Combo's.

I then have a button to read some stuff from registry and then update the Gui. Edit's work fine but Combo's and List updates causes the script to close it self. Very frstrating!

I have used the standard "|" separator and tried the following with no sucess:

GUICtrlSetData($ComboPcMake, "" & "IBM - Lenova|Fujitsu Siemens|Compaq|Other", $Var)

and

GUICtrlSetData($ComboPcMake, "" & "IBM - Lenova|Fujitsu Siemens|Compaq|Other", $Var)

and

GUICtrlSetData($ComboPcMake, "|" & "IBM - Lenova|Fujitsu Siemens|Compaq|Other", $Var)

and

GUICtrlSetData($ComboPcMake,$Var)

Same results everytime, the Gui closes automatically, interstingly the Icon stays in the tray until one moves the mouse over it.

Should I post part of the script or is this ok?

Somehow I think I am using the GuisetData to the Combo's and List's wrongly.

Any help will be appreciated.

Rgds

Gerry

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