sykes Posted November 15, 2004 Posted November 15, 2004 (edited) I tried the following code on a Windows 98 machine and the combo boxes had no values showing ... Am I missing something obvious here? #include <GUIConstants.au3> GUICreate("Software Install", 397, 150, -1, -1) GUICtrlCreateLabel(" Software Install 1", 5, 5, 125, 20) $combo1 = GUICtrlCreateCombo("", 5, 25, 125, 30) GUICtrlSetData($combo1,"Package 1|Package 2|Package 3") GUICtrlCreateLabel(" Software Install 2", 150, 5, 125, 20) $combo2 = GUICtrlCreateCombo("", 136, 25, 125, 30) GUICtrlSetData($combo2,"Package 4|Package 5|Package 6") GUICtrlCreateLabel(" Software Install 3", 280, 5, 125, 20) $combo3 = GUICtrlCreateCombo("", 267, 25, 125, 30) GUICtrlSetData($combo3,"Package 7|Package 8|Package 9") GuiSetState () ; Run the GUI until the dialog is closed While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop Wend The drop down values show on Windows 2000 and XP but not on Windows 98 Edited November 15, 2004 by psichosis We have enough youth. How about a fountain of SMART?
this-is-me Posted November 15, 2004 Posted November 15, 2004 (edited) IIRC, you have to set the height of a combobox larger to allow it to show all the items. Try 80 instead of 30 for height. Edited November 15, 2004 by this-is-me Who else would I be?
sykes Posted November 15, 2004 Author Posted November 15, 2004 OK That fixed the issue with Windows 98 .... Still don't know why it worked fine on XP and 2000 though Thanks this-is-me We have enough youth. How about a fountain of SMART?
ezzetabi Posted November 15, 2004 Posted November 15, 2004 Win2000 works as Win98, WinXp ignores the value and show all items anyway.
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