Combo Box

Combo Box

Post by Yves Brulott » Tue, 01 Aug 2000 04:00:00



I'm bew in visual basic 5 programing...

I use a 3 combo boxes and when i select a value in the first combo boxe...
the procudure object.change don't work until I wrote the number manualy!!!

How can i select a value and use it for comparison.
tankx a lot

 
 
 

Combo Box

Post by M. Ghormle » Tue, 01 Aug 2000 04:00:00


Yves,

A ComboBox is a combination TextBox and List.  The user may either type (as
in a TextBox) or select from a drop-down list (as in a List).  The
ComboBox.Change Event is fired when the user types in the ComboBox.  The
Click Event is fired when the user selects from the drop-down list.  So
place your code in the Combo1_Click() event and it will work.

Michael


Quote:> I'm bew in visual basic 5 programing...

> I use a 3 combo boxes and when i select a value in the first combo boxe...
> the procudure object.change don't work until I wrote the number manualy!!!

> How can i select a value and use it for comparison.
> tankx a lot


 
 
 

1. selecting records for 2nd combo box dependant on first combo box

I'm using VB 6.0. I have a form with 2 combo boxes, both get there"fill"
from two different MS Access table's. I only want to load some of the
records in the second combo box, depending on what was selected at run
time in the first combo box. Do I need two forms to do this or is there
any easier way? I am very new at VB. Thanks for your time.
Brian

2. how often to run dbcc checkdb

3. Populating a combo box from another combo box

4. Saving a .MDB file using Win95 backup functionality

5. Populate a combo box from another combo box selection

6. XP Client can't use SQL Data base

7. how add columns to a combo box in vb like access combos

8. Windows-DB for image retrieval needed

9. adding to a combo box or list box

10. Combo Box and Text Box moving together

11. HELP Forms, combo boxes, text boxes

12. Help filling second box from first combo box

13. Vb 4.0 Problems updating Text Boxes from Combo Box linked to Data Control