Click here to Skip to main content
Page 1 of 8
Page Size: 10 · 25 · 50


Tag filtered by:  combobox [x]
Article 8 May 2013   license: CPOL
A simple way to place any DataGridView inside a ComboBox.
Article 8 May 2013   license: CPOL
Describes PHP application development with the free Scavix Web Development Framework (Scavix-WDF).
Answer 25 Apr 2013   license: CPOL
It's calculated based on several factors ... http://msdn.microsoft.com/en-GB/library/system.windows.controls.combobox.maxdropdownheight.aspx[^]
Question 25 Apr 2013   license: CPOL
What will be the default maximum dropdown height of ComboBox when IntegralHeight property is True.When i am adding 30 items in combobox with default styles (IntegralHeight=True and DropDownHeight=106), scrollbar is not displayed in combobox.But when 35 items are added scrollbar is...
Answer 23 Apr 2013   license: CPOL
Also a ComboBox has a SelectionStart and a SelectionLength property. Hence you can work with Text.Substring and get the parts of the text you need.
Question 23 Apr 2013   license: CPOL
I need to get read a deselect text from a full text in a combobox where some text are selected. Suppose the searching text is emergency where emer is not highlighted but gency is highlighted. So I need to read this deselect text emer to perform operation. Help me plz.Thanks in advance.
Answer 23 Apr 2013   license: CPOL
You should use the property System.Windows.Forms.ComboBox.Text, which is the value currently presented in the edit area:http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.aspx[^],http://msdn.microsoft.com/en-us/library/system.windows.forms.combobox.text.aspx[^].—SA
Question 23 Apr 2013   license: CPOL
Hi Guys,I'm trying to implement some code that uses a Windows Forms that contains a dropdown combobox that is filled with values. These values depict that level of detail i want stuff to be printed to a log (i.e. Critical messages, Error Messages, Debug Messages ec)I am wondering if...
Answer 15 Apr 2013   license: CPOL
There are 3 ways:1) using OleDb objects and DataSource[^] property,2) using Excel.Interop,3) using CreateObject() function.Reading and Writing Excel using...
Question 15 Apr 2013   license: CPOL
problem in combobox column , i have 1 combobox , how can i add an items inside of this combobox from an excel file ... thanks
Answer 11 Apr 2013   license: CPOL
TesterJSR wrote:im trying to fill a ComboBox with an entire Collumn from my database but I don't want it to do with a DataSet or something like that. I want it via CodeIt's not work like that! Why? See Ryan comment.richcb wrote: DataSet is used in coding. It is just a collection(or an...
Answer 11 Apr 2013   license: CPOL
I d go with Create A DataTablefor each rows as Datarow in Gridview1.DatarowDim cValue as String=ctype(rows,"LabelorTextbox",textbox).text \\you are getting the cell value here\\insert the value to your created Datatable hereNextcombobox.datasource=your created...
Question 11 Apr 2013   license: CPOL
Hi, im trying to fill a ComboBox with an entire Collumn from my database but I don't want it to do with a DataSet or something like that. I want it via CodeCan someone plz helpDon't know what to do Dim combo As ComboBox combo = frmRD.cboNomCoopfrmRD.cboNomCoop.Items.Add("")
Answer 6 Apr 2013   license: CPOL
Try to change:textBoxUpdateEmployee.Text = Convert.ToString(ds.Tables[0].Rows[0] [0].ToString());cmbBoxUpdateEmpRoleID.SelectedIndex = Convert.ToInt32(ds.Tables[0].Rows[0][1].ToString());cmbBoxUpdateEmpDepartment.SelectedIndex =...
Question 4 Apr 2013   license: CPOL
I fetched all the username in Combobox1 displaymember as username and Id as value member.Now I enabled a groupbox having a textbox,3 combobox and update button when i select an item in Combobox1.considering the valuemember of combobox1 fetching particular user and trying to display those...
Answer 3 Apr 2013   license: CPOL
PROBLEM SOLVED!!! I hadn't assigned combobox selectedValuePath when I was populating combo box. Many thanks to richcb for helping me
Question 3 Apr 2013   license: CPOL
Hi everyone.I am trying to populate my text boxes with the values in my database so when a user selects a name of a teacher from the combobox, the text-boxes will populate with their contact details. This is the code I have so far. There are no errors however the textboxes are still blank...
Answer 3 Apr 2013   license: CPOL
Try something like this: MySqlConnection cs = new MySqlConnection(connectionSQL); string query = "SELECT * FROM Teacher WHERE name= '" + comboBox1.SelectedValue + "'"; adapter = new MySqlDataAdapter(query, cs); DataSet DS = new DataSet(); ...
Question 1 Apr 2013   license: CPOL
Hi everyone.I'm having problems populating my datagrid with data from mysql database. this is my codeXAML: DataGrid ItemsSource="{Binding Supplier}" AutoGenerateColumns="True" Height="248" HorizontalAlignment="Left" Margin="32,16,0,0" Name="dataGrid1" VerticalAlignment="Top" Width="641"...
Answer 26 Mar 2013   license: CPOL
Which form are you using?If you can tell that then, It would be easy to solve your query.Thanks
Question 25 Mar 2013   license: CPOL
Hi,I am new to WPF. I am trying to learn about wpf control templates. My question, how a custom combo box with icon can be made. Icon will be different for different combo boxes. So icon image source must be changeable. Here is an example combo box with icon....
Question 22 Mar 2013   license: CPOL
In my code I want to add combobox to "Datagridview" results, I have already find solutions how to add combobox or checkbox for datagridview but with ADDING NEW COLUMN, I want to add the checkbox to existing result, I'll explain to you in details,If I have a results for "Select query" to show...
Question 22 Mar 2013   license: CPOL
Hi,I am displaying the data in datagridview when user enters PickingNoteNo in the textbox.Then i am adding two comboxes to the Datagridview programatically and setting their respective Datasource.But the data is not displayed in the Comboboxes.can you please tell me changes in my code. ...
Answer 21 Mar 2013   license: CPOL
It does not work like this here.Here is what is expected of enquirers:1. TRY first what you want to do! You may find that it's not that hard.2. Formulate what was done by you that looks like an issue/not working. Try them and tell if you face issues.Members will be more than happy...
Answer 21 Mar 2013   license: CPOL
try this one: M 0,1 C0,1 0,0 0,0 0,0 3,0 3,0 3,0 3,1 3,1 3,1 4,1 4,1 4,1 4,0 4,0 4,0 7,0 7,0 7,0 7,1 7,1 7,1 6,1 6,1 6,1 6,2 6,2 6,2 5,2 5,2 5,2 5,3...
Question 19 Mar 2013   license: CPOL
In my WPF application I have two projects main project and User control project.In usercontrol library project I am having one usercontrol, that user control having one ComboBox.I am binding database to this combobox more than 1000 records.For this combo box i am applying the style. So its...
Answer 19 Mar 2013   license: CPOL
Place your style code in resource dictionary than access it in your usecontrol.
Answer 19 Mar 2013   license: CPOL
This is not really binding - foreach (DataRow dr in dtZipList.Rows){ Zip = dr["ZIP_CODE"].ToString(); cmbDataBase.Items.Add(Zip);}You are basially doing this the 'old' way by running a loop and adding to the dropdown.Create and ObservableCollection[^] of these items and the...
Answer 17 Mar 2013   license: CPOL
Unfortunately, System.Windows.Forms.TreeView control does not have columns. Even it you derive your custom control from this class and use owner draw or fully custom graphic rendering, implementation of columns is nearly impossible or very difficult, as I know from my own experience. You can try...
Question 17 Mar 2013   license: CPOL
hi how do i add combobox,textbox control inside treeview node columns
Question 14 Mar 2013   license: CPOL
I am looking for a ComboBox with the following properties: 1). The drop-down list of existing possibilities changes dynamically (each key-stroke) as the text changes in the box. The displayed list consists of all elements whose beginnings match what has been entered so far. (If no match, the...
Answer 10 Mar 2013   license: CPOL
what did your last slave die of ? no, let me guess .... overwork ??seriously, google it ... you get answers back like .... http://stackoverflow.com/questions/5158936/c-sharp-mysql-query-result-to-combobox[^]and...
Question 10 Mar 2013   license: CPOL
Hi Experts,I am newbie in C#, I have DataGridView with Column ComboBox and need to populate data from my MySQL Table.I Hope you can send me a sample code.Thank You So Much.Jon
Answer 7 Mar 2013   license: CPOL
Have a look here: Ribbon (WPF) – ribbon:RibbonComboBox[^]More about RibbonComboBox Class[^]Example: SelectionBoxWidth="30" VerticalAlignment="Center" IsEditable="False" > ...
Question 7 Mar 2013   license: CPOL
Hello, I'm beginner here and would like your help.The number select in dropdown don't appear in RibbonComboBox. Where I'm making mistakes?
Question 4 Mar 2013   license: CPOL
Hello FriendsI am VB.NET Programmer and currently working on a project where i have to search from combobox.I am retreving the data from database(MS ACCESS) and loading it in combobox at form load eventI have set the following properties in combobox for search :1. AutoCompleteMode TO...
Answer 2 Mar 2013   license: CPOL
You can convert the datatable of string that you use as input to an array of strings, that should sort out the behavior. It has nothing to do with the centering. When this line:txt = this.Items[e.Index].ToString();gets a DataRowView as input, then the ToString method will of course...
Question 1 Mar 2013   license: CPOL
I am trying to customize default windows scrollbar in combobox like below.public partial class ComboEx : ComboBox{ internal ScrollbarEx vScrollBar; NativeListWindow listControl; public ComboEx() { InitializeComponent(); DropDownHeight = 100; ...
Question 1 Mar 2013   license: CPOL
Hi all,I have searched the net about how to make a data in a combobox centered.I found a code like this : class Centered_ComboBox : ComboBox { public Centered_ComboBox() { DrawItem += CenteredComboBox_DrawItem; this.DrawMode =...
Answer 27 Feb 2013   license: CPOL
Hi Kishore,As i have refered from the Extended Toolkit CheckCombox Style the arrow syle is look as belowM 0,1 C0,1 0,0 0,0 0,0 3,0 3,0 3,0 3,1 3,1 3,1 4,1 4,1 4,1 4,0 4,0 4,0 7,0 7,0 7,0 7,1 7,1 7,1 6,1 6,1 6,1 6,2 6,2 6,2 5,2 5,2 5,2 5,3 5,3 5,3 4,3 4,3 4,3 4,4 4,4 4,4 3,4 3,4 3,4 3,3 3,3...
Question 27 Feb 2013   license: CPOL
Hi Experts,In my Wpf application I am using combobox and XCTK:checkcombobox from wpfextendedtoolkit.At the look and feel these two become different styles.So here I added the template for combobox like XCTK:checkcombobox, here I am unable to change the arrow style of the combobox...
Answer 25 Feb 2013   license: CPOL
Hi,you have to cast the elementbox.SelectedItem to the appropiate type and then you can access the Name property of it.But as you didn't provide to what the ComboBox' ItemSource is bound and no information what type of objects this binding contains, I cannot tell you more.Hope this...
Question 25 Feb 2013   license: CPOL
Hello friends,I want to extract the name property from selected item and pass it to a Elements(Xname) property,but don`t know how to convert it.Actually iam working on a filter consisting of two combo boxes and a texbox. Combobox1 is populated with selectedItem`s element(from xmldata) and...
Answer 19 Feb 2013   license: CPOL
Also take a look at below articles and try them.1. Custom ComboBoxes with Advanced Drop-down Features[^].2. An OwnerDraw ComboBox with CheckBoxes in the Drop-Down[^].Thanks...
Answer 18 Feb 2013   license: CPOL
I know the feeling!Try this: A multi-selection Drop Down List using a generic Abstract PopUp class[^]
Question 18 Feb 2013   license: CPOL
i have a combobox and i want to make it multi-selection and to show my selection in the text of the combobox, i tried this code but it doesn't work with meCheckBox ComboBox Extending the ComboBox Class and Its Items[^]
Question 13 Feb 2013   license: CPOL
Hello!I got a trouble which have never seen before. When I click arrow on CComboBox, drop-down list is opens and immediately, before selecting is closed.Thank you.
Answer 7 Feb 2013   license: CPOL
There was a similar problem discussed and many people provided solutions in the asp.net forum: C# How To Assign Combo Box Values / Text[^]
Answer 7 Feb 2013   license: CPOL
What you show is a really bad way, because you may easily make a mistake with a string. Therefore, it's much better to set selected index (exact answer depends on exact type of ComboBox; there are different types under this name).But really robust and reliable approach is to put items of...

Page 1 of 8
1 2 3 4 5 6 7 8


Advertise | Privacy | Mobile
Web02 | 2.6.130513.1 | Last Updated 14 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid