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

combo box catch 22 -

Hi,

I'm setting up a combo box on my form but I'm running into the following catch 22 situation:

I don't want the user to be able to type anything in the box so I set it to the "Dropdown List" style which seems to prevent the user from typing in text. However, with this style, it won't let me set anything for .Text. The idea is that I want the combo box to initially say "Select view..." so the user know what the heck the combo box is for...But, I can't seem to figure out how to get text to show in the combo box when the form is loaded.. The only way to do this seems to be when you set the style back to "Dropdown Combo", but again, the user is allowed to enter text, which I want to prevent..

Any help would be appreciated..

Dan

 

combo box catch 22 -
Hi, I'm setting up a combo box on my form but I'm running into the following catch 22 situation: I don't want the user to be able to type anything in the box so I set it to the "Dropdown List" style which seems to prevent the user from typing in text. However, with thi


[2005] How to catch combo event. -
Hi All, I m facing a problem in catching the Combo Event which i have placed in <aspataGrid> tag. i want some database operations to do on its change even but i m not able to catch its Event. so please could u suggest some or the other way to achieve that ????


Catch changes in Combo Box -
How do I catch a change in the Combo Box (that is not a change in text but a change in the selected item)? Just to make sure, what I'm looking for is not - Sub ComboBox1_Change


combo boxes restricted by combo boxes -
I have a form where I have two combo boxes and i want to restrict the second combo box based on what was put in the first combo box. I've seen about 5 different websites that explain step by step how to do it, and im really really close, but don't quite have it and i hope someone can


Combo Box Woes -
OK, If you have a combo box that is populated via a table in an Access DB and you want to select something from that combo bo xna dhave it populate another combo box with information from the same DB but based on the criteria that you have selected in the first combo box, how would


Combo Fill In -
Hmmm... the closest thing to a combo box doing that (that i know of) is setting the style property of the combo box to 2 when u type in the combo box it will go the the corrosponding first letter of the words in the combo box


Lots of the same -
Hi, im trying to fill all the combo boxes in a form with the same thing, im currently using this code: Dim combo As ComboBox For Each combo In ImpAsig combo.AddItem Impre1 combo.AddItem Impre2 combo.AddItem Impre3 combo.AddItem Impre4 combo.AddItem Impre5 Next combo But it


Combo BOx stuff -
Ok if you have two combo boxes and you want one combo box to fill in the contents according to criteria in the other combo box, how would you do it? Example, I have a combo box that filles that fills the file names of files in a directory on the network. What I would like to do is setu


Combo Box Linked to Combo Box -
Hi, I have had a look at other threads and I can't seem to find an answer. But if there is another thread with the same questions to me please tell me and I will look at that thread. My question relates to 2 Combo Boxs on a form. Let's say for ease I have one combo box with 1,


[02/03] combo box in vb.net -
Hi, I am a VB.NET Newbee I am using VB language Microsoft .Net Framework 1.0 Windows xp SQL Server ........................................... ............ Kindly help me to solve the Problem i have 2 combo boxes ,i need to bind both combo boxes to the same dataset an


Combo with filter -
Hi, How do you filter a combobox by the text written in the combo? I have populated combobox that allows writing (dropdown combo) I want to filter combo list whenever the user types something in the combo. Also, I want to keep combo list opened during the typing in the combo. I


Resolved - MS Combo -
hi guys Combo Box... I am generating a list of code in the combo box. Upon selecting any one of the code in the combo, the data will be populated in the other controls. Now my code is working on lost focus of combo. I want to work the code upon on closeup event, but there i


SELECTing into a combo box -
How do I read data from an Access table and then put it into a combo box? Can I put a SELECT statement into the data source of the combo box? I'm a newbie with combo boxes. When I search for examples of putting data into a combo box I keep finding .AddItem which is using a recordset.


combo box caper -
hey all. I have a flexgrid and a combo box. When the user clicks the grid cell, the combo box pops up with a list of choices. In the Click event of the combo, the text value of the combo box is sent to the grid cell and the combo box disappears. The problem: Somebody ask


try & catch -
In Java I can use try/catch statements in my code. From what I have seen so far (fairly new to VB! - so I could be way off the mark here.) VB.NET supports try/catch yet VB 6.0 does not. Can anyone assist me on this, ie what is the VB syntax/alternative for try catch? ta very mu


Advanced=Autocompleting a combo box -
Hi, I need to know how to complete a combo box. What I mean is I have some items in the combo box and I want when the user start entering things the combo box try to see if it has it in its list and display it.


When Displaying how to increse the lenght of Combo Box -
I have Combo Box. I need to display the the Full value of the string in Combo Box with out increasing the Combo Box Size. Pl Help


How to make a combo box locked -
How would I got about making a combo box that the user can't type into and change information in it? I just want them to be able to select items in the combo box and nothing more? I didn't see any property to lock a combo box like this.


Populating Combo. (Resolved) -
Hi All! I've a scenario where I've to populate a Combo Box on the click event of an other Combo Box. The values in the Combo Boxe are to come from the database i.e through a query. How to accomplish this.


Adding record to a Combo Box -
Hello, I got a combo box that I want to connect to a field in a table that I have. How can I add the records to the combo box in order that each time I access the combo box, it has all the new available data. Thanks in advance. David


Simple Questions on Combo Box. Help. -
May i know is there a way to set the combo box to like the user cannot cannot change the content in the combo box ? ?? is it combo box property ?? or wat so ever ??


Combo Box/Database Help Question -
Hello, I have a combo box that is filled with data taken from a MS Access table. Each record's name is in the combo box. Each record has an ID which is not in the combo box. I have a seperate text box for the ID. When the user changes the value in the combo box, I want the text b


Combo box Change -
I have Problem with the combo box control, the change event only detects when i write in the combo box, but how can i do a combo box that detects when it is changed by the mouse wheel or by combo list (touching the arrow). Thanks


combo box row selection .... -
Not sure how to describe this. Have a combo box which is populated from a data table. Below the combo box is a flexigrid. What I want to do is allow the end user to select a row in the combo box and then have the details of that row added to the flexigrid. The only issue here is tha


How to know when a control is selected at designtime -
Ok this is kind of a wierd one, I have a control i made which inherits from ComboBox but creates a label to show over top of itself. Everything works fine EXCEPT that you can't click on the control at designtime to select it, you have to drag over it to select it. I think this is hap


combo box pb -
hi friends! i'm back with the simple problem.there is a combo and as it gets the focus , i want it to show the list of items present in combo instead of clicking the down arrow of combo which v normally do . what should i do? do reply! very urgent ashish sharma


Stupid Data Combo Question -
Maybe I'm just tired because this should be really easy. I have 3 data combo boxes on a form. Each data combo box is populated by a seperate access 2000 table. The second combo box's contents is dependant on what is selected in the first combo box. The third combo box's contents


Access97 combo rowsource problem -
I'm trying to develop a form that has several combo boxes, each of which updates when another combo box changes. Here is the problem I have come up against. When the form first loads, all the combo boxes are populated by tables. When one combo box is updated, it changes the rowsour


Regarding Combo box in vb 6.0 -
I want to have combo box which should show the list in such a manaer that suppose i have typed in combo box that H than the combo box must filter the data starting with h nad show it in drop down type EG. H // This is what wriitten in combo HELL


Two Dimensional Array Object Name -
I have 15 combo boxes which are named as three object arrays. FirstCombo(0), FirstCombo(1)....FirstCombo(4) Second Combo(0), ThirdCombo(1)....ThirdCombo(4) ThirdCombo(0), ThirdCombo(1)....ThirdCombo(4) These combo boxes are created and named at design time. Actually, I avoi


Try-Catch -
Can you nest Try-Catch statements such that whole sections of code fall under one master try-catch but within it you can make certain sections able to catch there own exceptions and handle them without going to the master catch?


2 combo boxes that work together -
I have 2 combo boxes on a VB.NET form. I'd like to be able to select an item in combo box '1' and have it update combo box 2 with items. e.g. 1. Pick a department from combo box 1, (Administarion, Research,).... Select = Administration 2. Because Administration was selected


Playing with combo boxes -
In VB6, I have 2 combo boxes. I have a list of all 'types', and some of these are 'applicable'. In the first combo, I have all 'types', and in the second combo I have all 'applicable types'. How do I remove from the first combo all 'applicable types' - that is those contained in the se


Clear text in combo from procedure in another combo -
I have a DAO database in Access 2000 with a form containing two combo boxes. I have code in the AfterUpdate event procedure of one combo box that tests whether, if there is text in the other combo box, it is compatible with the selection just made in the current combo box. If it is not


Passing a combo as a parameter (tough) -
Hi !!! I need to pass a combo as a parameter... but not the regular combo. I need to pass the combo that is in Microsoft Forms 2.0 Object Library. The problem is that the class name is ComboBox. Sounds familiar? It´s the same of the regular combo. I´m getting a Type Mismatch.


simple combo problem -
If I have added a ID in a combo box and a string to show the data... How do I assign the ID back to the combo box to show the string? For instance: 1 Customer1 2 Customer2 3 Customer3 Now I load this form and I have the ID 2... How do I set the combo box to this


Mutiple Combo box problem -
Hi, I have combo boxes problem, I am using access DB with a table "Product" I am using adodc and datacombo controls to connect to access with a udl connection string. Currently, I have 2 combo box on a form , I need to display data from the same table from access. I am t


simple questin need answer and code to.. -
alright i have my combo box ad i have loaded a (.txt) into it and its in the combo box... now how do u get the list box to load and display the text into it from the combo box? When i click the combo box and the files in the combo box and then i go down and click the fle i want to disp


Combo box Selection -
How to give selection to the combobox when a key is pressed? Style of the combo box is dropdown combo. When user presses a key the corresponding item should get selected from the combo box list.


Update Combo Box -
Hi All, I have a form with a combo box on it populated from a database. I then have a button which will delete one of the options in the combo box. What I need to know now is how to update the combo box so that option is no longer available? Thanks, Gavin