Nighter Posted September 24, 2006 Share Posted September 24, 2006 Hi all first, sorry for my bad english i've got some problems here, ive wrote a script with a gui under windows xp with scite, it works fine. but i want to add some changes at home and with my laptop and win2k running. ive installed first 3.2.0.1 and the 3.2.1.4 beta and scite from the dl page. aver changing and testing my script ive got a problem with the combobox included on my gui form.. there was no data at the combobox. after serveral tests and no data at all on my combobox,ive tryed to create an empty gui, just with a combobox and fixed data like this part #include <GUIConstants.au3> $Form1 = GUICreate("AForm1", 622, 448, 192, 125) $cboacc = GUICtrlCreateCombo("", 128, 64, 225, 21) GUICtrlSetData(-1, "|test|test2") GUISetState(@SW_SHOW) While 1 $msg = GuiGetMsg() Select Case $msg = $GUI_EVENT_CLOSE ExitLoop Case Else ;;;;;;; EndSelect WEnd Exit and no data was at the combobox after i started the script. could it be that there are some problems with win2k and the gui? because my script worked fine at my pc at the office with windows xp.... ive tryed it without the beta to but it didn't work too..;( any ideas whats wrong? every other part of my gui works fine just the combobox won't work..;( Link to comment Share on other sites More sharing options...
Helge Posted September 24, 2006 Share Posted September 24, 2006 Set the combo's height to a higher value. 100 or so should do it. Link to comment Share on other sites More sharing options...
sohfeyr Posted September 24, 2006 Share Posted September 24, 2006 Yes. Comboboxes under Windows 2000 often fail to completely deploy. This is a Windows bug that 2K users will have seen before. Manually setting the height as Helge suggests might fix it, but I wouldn't hold my breath. Mine:Time Functions - Manipulate the system clock! | WinControlList (WinGetClassList++) | .Net Setup Wrapper, Detect or install .Net | Writing and using a VB .NET COM object in AutoItNot mine, but highly recommended:AutoItTreeViewExtension plugin | Menu code | Callback helper dll | Auto3Lib - Control the uncontrollable | Creating COM objects in AutoIt | Using .Net framework classes in AutoIt Link to comment Share on other sites More sharing options...
Helge Posted September 25, 2006 Share Posted September 25, 2006 Manually setting the height as Helge suggests might fix it, but I wouldn't hold my breath.I used Windows 2000 when I was in the military when I bumped in this issue, and I foundout that it could be solved by setting the height to about 100px. It always worked. I havealso suggested this to the forum-users here at least 5 times, and I've seen it suggested byothers here many times...it always fixed it and I haven't seen anybody having problemswith it after doing so, so I doubt holding your breath is needed Link to comment Share on other sites More sharing options...
sohfeyr Posted September 26, 2006 Share Posted September 26, 2006 I used Windows 2000 when I was in the military when I bumped in this issue, and I foundout that it could be solved by setting the height to about 100px. It always worked. I havealso suggested this to the forum-users here at least 5 times, and I've seen it suggested byothers here many times...it always fixed it and I haven't seen anybody having problemswith it after doing so, so I doubt holding your breath is needed No kidding... That would be nice. I'll keep that in mind next time it comes up. Does it work in other settings besides AutoIt? VC++ for example, or VB? Mine:Time Functions - Manipulate the system clock! | WinControlList (WinGetClassList++) | .Net Setup Wrapper, Detect or install .Net | Writing and using a VB .NET COM object in AutoItNot mine, but highly recommended:AutoItTreeViewExtension plugin | Menu code | Callback helper dll | Auto3Lib - Control the uncontrollable | Creating COM objects in AutoIt | Using .Net framework classes in AutoIt 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