o
k
q
u
e
s
t
i
o
n
s
.
c
o
m

"comboBox text entry" problem -

Hi everybody,

I have two comboBox controls on a form, and one of these controls isn't behaving itself!
I believe I need to find and eliminate code that tells the control how to accept data. When I try enter a new item in this comboBox, all I will see in the comboBox is the last character I typed... not the whole word.

Any ideas as to what would cause a comboBox to behave this way?

Many thanks,

Paul

 

"comboBox text entry" problem -
Hi everybody, I have two comboBox controls on a form, and one of these controls isn't behaving itself! I believe I need to find and eliminate code that tells the control how to accept data. When I try enter a new item in this comboBox, all I will see in the comboBox is the last cha


How To Add Text Into A ComboBox -
I need to get a ComboBox that is named: "Combo1" to display the last text entry of "Form14.Text1.Text" in the entry "0".


Another quick ComboBox question - differing backcolours -
Hi all, Just a quick question: In a combobox with many items, can you set a different BackColor for each option? Basically, I want to have a "Colour Picker" for some command button face colours. I was thinking of using a combobox with the words "Blue", "R


ComboBox String Lookup -
I have a Combobox with a bunch of entries (100 or so) given the string value of one of those entries, say "Cookies" I want to search all the entries in the combobox for the entry with the value "Cookies" and then find the listindex of that entry how do I do tha


text box entry filtering -
I am trying to ensure that the entry in a text box is a number, and not anything else. I tried this: If Mid(Latmintxt.Text, 1, 1) <> "1" Or "2" Or "3" Or "4" Or "5" Or "6" Or "7" Or "8" Or "


ComboBox stuff -
Hi, I am programming in access '97 and now I want to use a comboBox to do the following: If I type a new value into my ComboBox that isn't in the list I want to Add it to the table where I created the list However using the NotInList option I can add the new entry but somehow


How do I accomplish something like this -
Hi Everybody, I've been trying to resolve this kind of issue through a comboBox for a while, and have turned so many circles that I've disappeared! I need to start over and restate the problem:I need to fill a list from data stored in a table. The trouble is... I need to populate th


Add item in combo -
Hi there, I'm having some weird trouble with adding a new value in a combobox. The combobox has a datasource which is a bindingsource. The combobox's list is filled from a different table through a different bindingsource. Combobox.valuemember = "ID" and Combobox.display


Combobox question (style=2) *RESOLVED* -
I have a combobox with it's style property set to 2 (Dropdown list) At some point in my program, I have to disable certain comboboxes and I want to to set the text in them back to nothing. I can't just set it to vbNull because a combobox of this style is read only. I also don't want


runtime Question...HELP -
Hey all First timer here...anyhoo Heres the thing... I want to be able to change the contents of combo box "B" by what the user enters in combobox "A" If user chooses "one" in combobox "A" Then the choices in combobox "B" are


ComboBox: How to get the index if I have the name of the entry {RESOVLED} -
How do I obtain the index of an entry in the combobox? I have the name of the entry. I know I can loop through the index by using For i = 1 to numberOfIndex combo.index = i if combo.value = myentry then *I have the index* next i However, I wish to obtain the index witho


Getting value from Combobox -
Im using the followin commands to fill a combobox from a dataset: cmbProject.DataSource = myds.Tables(0) cmbProject.DisplayMember = "ProjectName" cmbProject.ValueMember = "ProjectId" That is working just fine. The problem is when I try to get a value from th


ItemData NOT getting selected -
I am at a loss, I have searched the forum and do not see a problem like mine. To complicate matters I can't duplicate my user's problem when performing the same task on my system! I have a combobox with text entries and associated itemdata. the list has 8 items in it, all distinct


Combobox .NET -
I know this message belongs to the .NET Forum no one ever answers there, I'll try my luck here. Im using the followin commands to fill a combobox from a dataset: cmbProject.DataSource = myds.Tables(0) cmbProject.DisplayMember = "ProjectName" cmbProject.ValueMembe


ComboBox property behavior -
I inherited a VB6 application and I have 2 ComboBox-related questions: 1) The form contains a combobox. A combobox has a property called "text". The value of property text is being used to determine a comm port. When, in the IDE, I overwrite the current value of "tex


ComboBox Right Click -
Does anyone know HOWTO intercept a right click on a combobox entry?????? Need to display additional information to the user about the contents of the selected entry.


Listbox and ComboBox Questions *Resolved* -
I have two questions regarding the Listbox and ComboBox Controls: ListBox I have a ListBox control on my form and I have select the Checkbox style from the dropdown list. Can the value of this checkbox be set and changed by the user? ComboBox I have a ComboBox on another for


Automatically Creating Text Boxes -
Hello there, i have 2 forms, and on form one there is a textbox and a command button (cmdsned) on for 2, it is blank. I want the end user to be able to type a number into the textbox on form 1, and when they hit send, it loads form 2 with that amount of text boxes, and a label be


COmbo Box Problemo -
I have a combobox on an insert form which contains a list of staff members and their ID's. e.g Paul : 1 Anna: 2 Jules: 3 This all works fine until the user goes to the Update page. The update page contains the same combobox with the same list of staff members. The problem I


Combobox + Button = Next item -
I'm designing an application that is text file based, for easy manipulation and testing. I have a combobox setup, which I don't believe I can make a multi-line. It loads all the entries at startup, no problem there. Once I hit the "add" button, it takes the combobox's c


Adding data to ComboBox SOLVED -
Hi, I already have data in the ComboBox but i am sure it can be done easier. I know have: Private Sub ComboBox1_DropDown(ByVal sender As Object, ByVal e As System.EventArgs) Handles ComboBox1.DropDown ComboBox1.Items.Add("Arnold") ComboBox1.Items.Ad


Combobox In Vba (Simple Problem) -
Hi, Im experiencing a problem in Vba. The problem is that i Have a form with a few comboboxes, I have initialised the Form and used With and End With statements with the combobox, but when the combo box is loaded the user is able to edit the text inside the combobox. For example I Ha


Problems with Combobox (ADO) -
------------------------------------------ EDIT: After posting this thread I decided to use a combobox instead of a datacombo, so I have changed my first message. ------------------------------------------ Hi, I have the following tables in a Access 2000 database: tab_empl


Combobox (check for match in list) -
Hi Guys, I use a command button to add the entry in the combobox text field into the list. How can i code to check that the entry that's being added, already exists in the list, so I can display a message box to tell the user?


[2005] Combobox frustration -
The program I am working on simulates a keypad. I have the form detect keypresses and adds text (numbers) to a combobox or they can press the buttons that represent numbers. The problem is that if I click on the combobox first then it adds the number twice - it does not call keypress


[2005] Clear the text from a ComboBox -
Hi, I am using Visual Basic 2005 Express Edition I have in my form ComboBox: ComboBox.DropDownStyle = ComboBoxStyle.DropDownList I am trying to clear the text from the ComboBox: ComboBox.Text = "" It's not working I don't want to clear all the items: ComboBo


simple combobox question [resolved] -
it may seem trivial but here's what I need an answer for. I have two comboboxes, let's call them A and B. and simple text files. What I'm aiming at is when I select filename 1, 2 or 3 from the combobox A the content of the file is loaded to the combobox B where each string is an en


DataGrid Set combobox Datasource on Fly -
I've got a datagrid that has a few combobox columns. I have no problem binding a combobox to a database table. My question and problem is that when you bind a combobox column to a database table, all combo boxes in that column must have the same values. I want to know if you can pop


Record entry w/ lookup - best practice -
I have a data entry app in the works and one of the values is a lookup. I will be using textboxes for all except a combobox for the lookup field. What's better (or easier for the developer if it doesn't matter for the user) * allow new entries to be added into that combobox (at


Problems running Access Queries from VB. HELP!!! -
Ok, first off, I am a serious noob. I picked up a VB 2005 manual last week. Here's my problem. I am trying to create a simple program that has a search form panel and a search results panel. The UI design was a breeze, and I was able to set up the code to successfully connect to my Acc


Combobox Handling Problem -
Hi All, I have a Problem using Combobox in VB.NET, here is what is actually happening. I have a Combobox1 , with Dropdownstyle as Dropdown I have attached a datasource to the Combobox1, and then I have combobox1.text="--------Select--------" All this is done


ComboBox Queston -
Ok, I am teaching myself VB.net 2003 version. I have a form with 3 Combobox..... My problum is this I want to be able to select text in the first combo box and once i have done that for the 3rd combobox's drop down list to refesh it self with a diffrent list for each item picked in


ComboBox onchange event -
Okay, this may be a stupid question, but how do I catch the event when I change the selected item in my ComboBox control? The Combobox_Change() event does not work. This is what MSDN help says: "In Visual Basic 6.0, the Change event of the ComboBox control is raised when the text


ComboBox selecting -
This is probably a very basic question, but I can't seem to find the solution. I have a combobox populated at runtime with items. One of those items is "New" (At the top of the list) that allows a new item to be put in the combobox and saved to the datasource. I want for t


How to combine 2 fields as data for 1 combobox -
Hi, I need advice and help. I am trying to display 2 fields as a choice in 1 combobox. I only know how to display 1 field in the combobox. I am currently working with this code. CustomerSupplierIDComboBox.DataSource = E2_PRODataSet.Tables("CUSTOMER") CustomerSupplie


focus on entry boxes -
Hello I just made this form and it seems that the focus(?) is on all the entry boxes, what i mean is that e.g. when you are working with a combobox say combo1, and are looking at the entry list(3) say it is highlighted as blue background and white text, i have got this situation


SELECT, FROM, WHERE, like statements -
hi im creating a keyword search function in my program which is a diary. im using the DAO function. as my program starts all entries are downloaded and when u exit all entries are then updated. im having problem with the keyword search function. it doesnt seem to work. what i wan


Dropdown box with multiple attributes -
I've got a form, where I'd like the user to select an item from a combobox (they cannot type it in). The information used to populate the combobox is pulled from a text file. THere are three pieces of information for each entry. One is a description, one is an IP address and the t


ComboBox error -
Hi I am using ComboBox "ComMainCash" stype 2-drowdown list At the time of entry i can populate ComMainCash without any error but while display the old record from table error message : RUN TIME ERROR 383 "TEXT" PROPERTY IS READ ONLY HOW CAN I SHOW THE GL


Adding items to a combobox -
Hi, How can I add in a text and value to a combobox? E.g Given a text field "Manager" that has an associated id number 1. I want to display the text field in the combobox but when Manager is selected reference the number 1 by going combobox.selectedValue I tried com