Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 1.0 > C#
|
C# Programming questions specific to the Microsoft C# language. See also the forum Beginning Visual C# to discuss that specific Wrox book and code.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 13th, 2007, 12:09 AM
Authorized User
 
Join Date: Sep 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Combo Box Won't Drop Down

Hello, I have a combo box on a form. When I run the application, I click the drop down arrow and it does drop but only for a split second, then rolls back up. If I click on the text of the box, I can key down to select anything in it. I have tried:

   comboBox1.Enabled = true;
   comboBox1.DropDownStyle = ComboBoxStyle.DropDownList;
   comboBox1.Show();
   comboBox1.BringToFront();
   comboBox1.Focus();

Both of these return false:
  comboBox1.CanSelect
  comboBox1.CanFocus

I've been programming for a while but am new to C#.
Thanks for any help.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Combo box to display items from parent combo box Gini Visual Studio 2008 0 June 18th, 2008 12:30 AM
Combo box choice creating filtered combo box stevensj5 Access 11 September 13th, 2007 11:33 AM
add drop down / combo box for selection mamuco Classic ASP Components 0 May 30th, 2007 06:34 PM
Displaying drop down menus on the top of Combo box karunkumar_g Javascript 3 December 14th, 2005 01:46 PM
Drop Down/Combo box/List in a Form from DB mazimi Classic ASP Basics 2 October 1st, 2004 10:43 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.