VS 2008 : Open A Drop-down Combobox?
Nov 18, 2009I have a drop-down combobox. Is there any action that drop it down on runtime? I'd like to drop it down for the user, instead of asking him to press the "down" arrow.
View 4 RepliesI have a drop-down combobox. Is there any action that drop it down on runtime? I'd like to drop it down for the user, instead of asking him to press the "down" arrow.
View 4 RepliesI have an application working great that has a data-bound combo box.My question is When the user types in box the results are not shown unles I manually click the drop down arrow.
View 2 RepliesOn a form I have a toostrip control with some ToolStripDropdownButtons,each has ToolstripMenuItems. I want to display menus on mouse over not after user click on a ToolStripDropdownButtons.I saw that on a application and was fine.
View 4 RepliesComboBox drop up instead of drop down..i want to defualt for a particular drop down box to work this way how can i do it.
View 6 RepliesI have a small requirement and that is: There are two combo boxes on a form and for populating the employee names and roles. I am populating the combo boxes as follows: I have created a class called "DbConnect" and in that there are 02 functions as:
Public Function getEmployees() As DataTable
Dim employeeDS As New DataSet
Dim employeeDA As New SqlDataAdapter("prc_emp_list", conn)
employeeDA.Fill(employeeDS, "employees")
[code].....
The data is getting populated into the combo boxes correctly and my requirement is that when I select and employee from the first combo, his corresponding role should get selected in the second combo.
when i call my Form2.Show() i need to make a combobox in Form2 show its "drop down". in other words i do not wish for the user to have to press the combobox before it shows its "drop down" and would like to do it automatically.is this possible?
View 3 RepliesI want create a DateTimePicker Component and Using a combobox for type date in it, with vb.net ... I created a form Likes Calendar in V.S.Net and added to this project ...now, I want if you click on combobox not open drop down list, open form. but opening both.I don't know how to blokage it.
View 3 Replieshow to drop this laybout combobox in vb.net ?
View 5 RepliesIn a Windows Form application (VB.NET) I have a combo box and under certain conditions, when the user opens the DropDown list, I want to display a warning message.All of this works well: In the DropDown event, I check the conditions and if required I display the warning message.The problem is that when the user clicks on Yes on the warning message, I move to another tab on the main form and the drop down list still shows even though I've moved away from the tab containing the combo box.I've searched quite a bit and tried to set DroppedDown to False, call OnDropDownClosed, etc but nothing worked.It seems that when I try to close the drop down list from within the DropDown event, it doesn't work.
View 1 Replies1. Although I have enabled AllowDrop property of ComboBox it does not allow me to drag and drop files into ComboBox. Why?
2. Then should I process incoming files in the _DragDrop event, yes?
3. How can I get the Files.Count to get the number of dropped files?
Is using Public Property the best way to achieve the following.From a drop down combobox, a list of options are available. Each option in the combobox has a number of public properties that need to be associated with it.When a option is selected, the user will then have two buttons that each call a different sub, the appropriate options are passed to the sub.Each option will always have the same properties required to be passed.So I'm looking at something like this.
Public Class Parameters
Public Property server As String
Public Property replica As String
Public Propery path As String
End Class
[Code]...
I have created a drop-down list box that holds 8 numbers representing a month span (3, 6, 9, 12, 15, 18, 21, 25 months). In order to prevent users from typing just anything into the text box above the combo box, I changed it to a drop-down listbox. The other requirement that I was hoping to implement was for the user to be able to type a number, after which the selection would jump to the appropriate item (i.e. the user types in '1', and the selection jumps to 12). This partially works. It will jump to 12, for example, but immediately after the user types the '1', the Selected Index event changes. The user cannot scroll down or up after typing in a number.
View 6 RepliesHow can i set the tool combobox when i write any thing the drop down list goes down and data begins to appear?as Google when you want to search for something it begins to suggest words for you. is it a special tool?
View 16 RepliesI have created a combo box in my project which takes a certain amount of numbers from a file. This Combo drops down the list of the numbers each of represents something. That something I want to be displayed in a tooltip when the mouse hovers on the combo box. Until now everything has gone fine. What I want now is to see the tooltip when the mouse rolls over the list of the dop down combo. How can I do that? Until now the internet didn't give me something to work on it. Is there some one to assist me on that?
View 2 RepliesThe issue I'm having is I have 3 items in my combobox however when I maximize my window the items do not enlarge and are the same size(or relative) to what they were prior to maximizing, hence overlapping. Is there a way? I've ony known how to increase width.
View 12 Repliesi seem to have a problem when i try to select a ComboBox item which is a drop down list. The ComboBox contains a list of various items where the user can select from a list, the type of query he/she would like to perform on an Access Database. Two of the items in the Drop Down List are "Employee Sales Between Specified Weeks" and the other item is "Employee Sales Between Specified Months" (without quotation). Now in my VB code, i have a really long If/ElseIf Statement which includes all the options the user can select. Additionally, if the user has selected a week query, he/she must select a From Week, a To Week and a Year (for example week 3 to week 5 year 2009). From Week is another combobox (1-53 weeks) and To Week is also another ComboBox (1-53).When the user selects a month query, he/she should select a From Month from a ComboBox (1-12) and a To Month from another ComboBox (1-12) and the year from the same Combobox (e.g 2009).
View 5 RepliesMy combobox dropdownlist contains 60 to 65 items. So i want to show 5 items in the dropdownlist of my combobox and add a vertical scroll bar in it so that the user can scroll it and see the items. How to add a vertical scroll bar in the combobox dropdown list? I want to add this vertical scroll bar only when the dropdown list contains more than 5 items.
View 5 RepliesI've found some unexpected behaviour in my ComboBox, which I'm hoping someone can help me with. If focus is lost by pressing the Return key on a form which has AcceptButton set, then after handling the Validating event and cancelling the validation,the ComboBox will not drop down any more. When you click on the drop-down arrow, the list drops down momentarilly then goes away again To reproduce this, create a new VB.NET Windows Forms application. Drop a Combo Box and a Button onto the default form, then add the following code:[code]....
Run this application, click on the Combo Box, enter some random text (e.g. "asdf"), then press Return. After this, click on the drop-down arrow on the Combo Box.I'm using Visual Basic 2010 Express on Windows 7 Home Premium.
I have set the combo box dropdown style to dropdown, the auto complete mode to suggest append and the auto complete source to list items. This works fine IF I choose the required item using the mouse. If I type the full item name into the combo box, it is displayed but not selected for use. Is it possible to use a key such as TAB or Return to select the item in the combo box's display area after the drop down window has closed?
View 11 RepliesIn VB.Net 2010, is there any way to do multi-select in a drop-down/combobox, preferably with check boxes in the drop down? I've seen various discussions on the 'net about this but no such beast appears to exist within the tool.?
View 4 Replieswith this code I have cascading comboboxes that pull push results in a DataGridView; but each time I change selection in a combobox, it doubles results in the cascading combobox?!
Imports System.Data
Imports System.Data.OleDb
Imports System.Windows.Forms
[code]....
What Im making is like a face book and tagged login from my app
1. I have Combobox with 3 urls in there ( Facebook.com Tagged.com and Bebo.com )
2. I have a Form2 with webbrowser
3. I have a Button when clicked it should open up my form 2 and preview of the website which I selected in my combobox in form1
All I'm trying to do is when I select lets say facebook in my form 1 and click load it should open up my form 2 with facebook website in it.[code]Now when I click my button in form 1 it will load Form2 ( named Explorer1) but my form2 is not showing me facebook or tagged page for some reason
i have a few questions about seting up a form.when you creat a new for open the dataset drag and drop the tables to form it creates a top menu bar with pages plus sign and x and save.now when you run the app you need to press the plus sign to add data in the database..is there a way to make it that you dont need to press the plus sign?
View 3 RepliesI populate a listbox with locations search results, I then have 6 panels below the listbox each with a combobox containing all available locations. I want to allow the user to click on one search result in the listbox and drag to one of the 6 panels and set the combobox.selectedvalue = listbox.selectedvalue.
i have researched the drag and drop and have yet to figure out how to accomplish this. I think i could do it using some key down events etc. ?
[code]the links are listed in my combobox, and when i click on a link i want to be opened in webbrowser; or maybe with a button not directly from the combobox, something like select a link and press the button to open the adress in webbrowser.
View 1 RepliesI have a window form and a ComboBox is placed on that form. I want to open combobox programatically on keypress event.
View 14 RepliesI cannot seem to load the saved .rtf document into the richtextbox when i click on that file in a combobox. I checked msdn and tried what it suggested, but got no results.
View 1 RepliesI have been searching for a while and not able to find anything useful on how to approach this issue.I have a ComboBox on a form and what I am looking to do is when the ComboBox has the cursor focus, it automatically opens up and displays the options. Just as if you clicked on the ComboBox. I was considering PerformClick but the only problem is, I believe PerformClick is only available for the Button and no other control.
View 2 Replieswhat i was wondering, is how to open a combobox from a button click event .let's say i have a combobox and a button, and when i click that button, the combobox should act like it does when you click on the combobox dropdown arrow.
View 2 RepliesHow to use a vba userform to input a number to the excel file and get another number from that excel file back to the userform?!! (such as input value to A1 and collect C1 back to userform). Beside is that possible to open another excel file via ComboBox and input the number (C1) to that particular excel file...
View 4 Replies