Re: Combo Box Odd Display Behavior
- Posted by DerekParnell (admin) Nov 13, 2011
- 1985 views
DerekParnell said...
It's on the list of repairs that I have to fix in the library ...
It looks like I might have already fixed this. Can you download the current release of the win32lib library and try this again. I've changed your sample program a little to help you with this...
include Win32lib.ew sequence title title = sprintf("Combo Box Bug Test v%d.%d.%d %s", Win32LibVersion) constant MainWindow = createEx(Window, title , 0, 100, 100, 440, 100, 0, 0) constant ComboOne = createEx(Combo, "", MainWindow, 8, 10, 200, 0, 0, 0) for x = 1 to 30 do addItem(ComboOne, sprintf("Combo One %2d", x)) end for setIndex(ComboOne, 1) constant ComboTwo = createEx(Combo, "", MainWindow, 220, 10, 200, 0, 0, 0) for x = 1 to 31 do addItem(ComboTwo, sprintf("Combo Two %2d", x)) end for setIndex(ComboTwo, 1) WinMain(MainWindow,Normal)