dazza Posted April 19, 2010 Share Posted April 19, 2010 When I run a GUI in Windows 2000 Professionsal and Server, Comboboxes don't work and nor do button presses. It appears that 2000 is missing something that AutoIT needs. Can this be solved? Link to comment Share on other sites More sharing options...
ChrisL Posted April 19, 2010 Share Posted April 19, 2010 Combobox's do work on 2K, XP has an automatic height setting which scales combo boxes, 2000 needs to have a height specified, try a height value of 120 and see how you go. [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
dazza Posted April 19, 2010 Author Share Posted April 19, 2010 This my code: $ch2_percent = GUICtrlCreateCombo("%", 172, 53, 60, 30) For $f = 0 to 127 GUICtrlSetData($ch2_percent, $f) Next The Combobox is shown on 2000; it just doesnt populate. I wrote the app on XP and it works fine. Link to comment Share on other sites More sharing options...
ChrisL Posted April 19, 2010 Share Posted April 19, 2010 It does but the 30 value isn't big enough to display a dropdown! Change 30 to 130 and try again $ch2_percent = GUICtrlCreateCombo("%", 172, 53, 60, 130) [u]Scripts[/u]Minimize gui to systray _ Fail safe source recoveryMsgbox UDF _ _procwatch() Stop your app from being closedLicensed/Trial software system _ Buffering Hotkeys_SQL.au3 ADODB.Connection _ Search 2d Arrays_SplashTextWithGraphicOn() _ Adjust Screen GammaTransparent Controls _ Eventlogs without the crap_GuiCtrlCreateFlash() _ Simple Interscript communication[u]Websites[/u]Curious Campers VW Hightops Lambert Plant Hire Link to comment Share on other sites More sharing options...
dazza Posted April 19, 2010 Author Share Posted April 19, 2010 Works a treat. Many thanks. I'll always make the height 100+ now as a matter of course. 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