Sign in to follow this  
Followers 0
Gerry

GUICtrlSetData with Combo / list

2 posts in this topic

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

Share this post


Link to post
Share on other sites



Hi All

Sorry for earlier message, my own stupidity, the reg read was actually the culprit and key in registry was blank.

Gerry

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