473,651 Members | 2,582 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ComboBox closes up after filling

1 New Member
In a C# dot net app:
In the drop down event of the combo box, if the count is <1 I populate the list from a database. But then the combo closes up and the user has to click the down arrow again. I see the list flash, but then it closes up.

It is loading 2300 aggregated records so it does take a little while.

I am using the Begin/End Update methods while filling.

after the first drop down, it is fine.

Thanks,
Mike
Jul 3 '10 #1
2 1392
fastestindian
74 New Member
Pls give the code..
Aug 10 '10 #2
GaryTexmo
1,501 Recognized Expert Top Contributor
That's odd that it closes after it's populating, I've never tried. I agree with fastestindian, lets see some code :D

However, there is a way to programatically specify that a combo box should be in the dropped down state. It's the DroppedDown property; set it to true.
Aug 10 '10 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

5
3166
by: James | last post by:
I'm totally new to C++ and when I try to execute the simple program I have written, it closes the console application as soon as it has finished excuting. This obviously means I cannot see the contents of the console window. I'm developing it using Visual C++ 2003, using the console application template.
2
9170
by: Kevin Hodgson | last post by:
I have a DataBound ComboBox, which has a text value as the Value property, and the UniqueID for that value is bound to the Combobox.Tag property. When a user makes a new selection in the combobox, I need to run a SQL Query with the UniqueID of the new value they are picking. The .SelectedIndexChanged and .SelectedValueChanged events give me the .Tag value BEFORE the new selection is made. I'm getting the value for the previous value,...
1
1602
by: Kevin Hodgson | last post by:
I have a DataBound ComboBox, which has a text value as the Value property, and the UniqueID for that value is bound to the Combobox.Tag property. When a user makes a new selection in the combobox, I need to run a SQL Query with the UniqueID of the new value they are picking. The .SelectedIndexChanged and .SelectedValueChanged events give me the .Tag value BEFORE the new selection is made. I'm getting the value for the previous value,...
1
1277
by: novice_in_ny | last post by:
I have a simple form that takes in a UPC code of an item and after I enter the record, I would like to do an inner join to get a couple of fields from another table that is joined on the UPC code and then print a receipt. Do I do this with Visual Basic procedure after the insert and how do I carry out the simple print job onto a receipt printer.
0
2240
by: sixths3ns3 | last post by:
My DataGridView has two columns. Combobox Column 2 displays list based on Combobox Column 1 selected value. The code below works fine when I select a value on Column 1, and select a value on Column 2. But on the next row, when I leave Column 1 blank and click on Column 2, it generates error DataGridViewComboBoxCell value is invalid. And the code below works fine the first time I click Column 2, leaving Column 1 blank. I just want to...
1
2255
by: Bob | last post by:
Hello folks! I have a form and when users fill in the form they normally fill in a simple text box. But when they can add several items...such as people on a project, I use a pop up form and they can add as many project members as they like. But after they add the member through the popup I need the parent form
1
1580
by: sakee123 | last post by:
hi.. i have a html form in which i have three textboxes and a submit button.. after filling three textboxes in a form the submit button should be enabled. prior to which it should be disabled.. please help giv code.... thanks.. byee
1
1833
by: hpandya | last post by:
hi All, I want to display an alert message that closes after 3 seconds automatically Is there a way to do this?? Please help!! Thanks
4
1888
by: sreemathy2000 | last post by:
I have a vague problem.. Inmy windows application in c#, i'm opening a child window from from my main window thru the show method. I have few events on the child window. After my button click event on the child window, it closes and control comes back to the main window. not sure why the child window is closing. please let me know if anybody has faced this problem.
0
890
by: =?Utf-8?B?c2Nvb3Q=?= | last post by:
I have a new install of FSX Deluxe that seems to run properly but once I fly a mission and hit Esc then click on End Mission, FSX seems to close and I have to relaunch it again as if starting a new game. I believe after I click End Mission the game should come back up with the FSX start menu (splash screen)? Pls help
0
8347
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8275
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8694
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8457
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8571
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7294
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6157
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4143
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4280
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.