daveh541 Posted July 1, 2003 Posted July 1, 2003 On my windows form, I have two comboboxes, one is above the other. When an item is selected in the first combobox, it fills the second with data pertaining to that selection. When I run my program on Windows 2000 and Windows 98 the top combobox's drop down menu seems to erase the combobox below it. You can see "behind" where the combobox should be. You can still select the combobox and a drop down menu appears, but you can't scroll through it. Any thoughts would be greatly appreciated. Quote
*Experts* Volte Posted July 1, 2003 *Experts* Posted July 1, 2003 I don't understand.. could you attach a small, appropriately sized screenshot of what happens? Do you have any specialized OnPaint overrides, or any style that you are setting to the form (using SetStyle, such as UserPaint)? Quote
ThePentiumGuy Posted July 1, 2003 Posted July 1, 2003 daveh541: just make them next to each other:D, dont put them on top of each other, it looks messy anyway :) Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
daveh541 Posted July 2, 2003 Author Posted July 2, 2003 Thanks for the replies: Volte: I'm not overiding anything. On XP machines there seems to be no problem with the display. I'm not on the right computer right now, but I will post a screenshot tomorrow. Pentium: Yea it's messy, but i want to know why it's happening :) Quote
daveh541 Posted July 2, 2003 Author Posted July 2, 2003 Here is a screenshot of the browser. It shows a datagrid that is in the "Scrap Analysis" tab page. Quote
daveh541 Posted July 2, 2003 Author Posted July 2, 2003 Whoops, that was the original, here is the changed. Quote
Administrators PlausiblyDamp Posted July 2, 2003 Administrators Posted July 2, 2003 Could be a video driver issue, have you kept you drivers up to date? (or just updated them to a new version?) Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
daveh541 Posted July 2, 2003 Author Posted July 2, 2003 Thanks for the suggestion. I tried updating video drivers but still had the same problem; however, I think I have fixed the situation. The datasource for my combobox was an arraylist that I created programmatically, and would change every time the customer was changed. A Master-Detail type deal. Anyway, I would : cmbopart.datasource = nothing each time it was changed. I changed this to cmbopart.databindings.clear() and this seems to have corrected the situation on all test platforms. Thanks for all the help and suggestions. Quote
ThePentiumGuy Posted July 2, 2003 Posted July 2, 2003 that was weird :) Quote My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!) vbprogramming.8k.com My Project (Need VB.NET Programmers) http://workspaces.gotdotnet.com/ResolutionRPG
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.