ako673de Posted January 22, 2008 Share Posted January 22, 2008 I just read the following FAQ topic:Q17. Why doesn't my combobox (GUICtrlCreateCombo) show a dropdown list when clicked?A1. When using GUICtrlCreateCombo be sure to enter the desired height for your combobox list in the "height" parameter. Windows XP automatically selects an appropriate height for combo boxes, but other versions of Windows usually do not.CODE: AutoIt$combo = GUICtrlCreateCombo("",10,10,200,20)would be correctly changed toCODE: AutoIt$combo = GUICtrlCreateCombo("",10,10,200,200)One question: The height obviously depends on the number of list entries AND on the font used, but are there other things (frame border, margin from border to active text, ...) to take into account? Is there an easy way to do the same calculation (WinXP does automatically) inside my script? 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