michaelslamet Posted April 9, 2010 Share Posted April 9, 2010 I create a combo box: $var = GuiCtrlCreatecombo("Option 5", 150, 155, 150, 100) GUICtrlSetData(-1, "Option 1|Option 2|Option 3|Option 4","Option 3") The problem is there are hundreds of option available so i try to break the command into multiple lines. Try these but non of them works GUICtrlSetData(-1, "Option 1|Option 2|Option 3" _ "|Option 4","Option 3") or GUICtrlSetData(-1, "Option 1|Option 2|Option 3 _ |Option 4","Option 3") Googling and found nothing except that we can use "_" to break the command into multiple lines (which is not working in this case) Help ( Please advice. Many thanks in advance Link to comment Share on other sites More sharing options...
Yoriz Posted April 9, 2010 Share Posted April 9, 2010 GUICtrlSetData(-1, "Option 1|Option 2|Option 3|" & _ "Option 4","Option 3") GDIPlusDispose - A modified version of GDIPlus that auto disposes of its own objects before shutdown of the Dll using the same function Syntax as the original.EzMySql UDF - Use MySql Databases with autoit with syntax similar to SQLite UDF. Link to comment Share on other sites More sharing options...
michaelslamet Posted April 9, 2010 Author Share Posted April 9, 2010 Yoriz: many thanks, it works now!! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now