List Box & Combo Box selection notification 
Author Message
 List Box & Combo Box selection notification

How do you know when a list box or a combo box has a value selected.  I need
to disable and enable some controls on a form when the user makes a
selection in the list

I have tried using the change event in the combobox for a style 0 combo box.
The change event does not get called when I select an option from the list.
What do I need to do to make this option work.

TIA
Mark



Tue, 27 Nov 2001 03:00:00 GMT  
 List Box & Combo Box selection notification

Quote:

>How do you know when a list box or a combo box has a value selected.  I
need
>to disable and enable some controls on a form when the user makes a
>selection in the list

See the Click event

Frank Carr



Tue, 27 Nov 2001 03:00:00 GMT  
 List Box & Combo Box selection notification
I think the combination of the Change and Click events should cover it.
When either of these happens, test the Text property to see if you've got a
value.

Bertie


Quote:
> How do you know when a list box or a combo box has a value selected.  I
need
> to disable and enable some controls on a form when the user makes a
> selection in the list

> I have tried using the change event in the combobox for a style 0 combo
box.
> The change event does not get called when I select an option from the
list.
> What do I need to do to make this option work.

> TIA
> Mark



Tue, 27 Nov 2001 03:00:00 GMT  
 List Box & Combo Box selection notification
Hi!
If you have a style 0 ComboBox or a ListBox, try yo use the "Click" event.

Bye

http://www.armaditaggia.com/marco
http://www.geocities.com/SiliconValley/Foothills/7260/

Mark Loew ha scritto nel messaggio ...

Quote:
>How do you know when a list box or a combo box has a value selected.  I
need
>to disable and enable some controls on a form when the user makes a
>selection in the list

>I have tried using the change event in the combobox for a style 0 combo
box.
>The change event does not get called when I select an option from the list.
>What do I need to do to make this option work.

>TIA
>Mark



Wed, 28 Nov 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Limit subform combo box by selection in parent combo box

2. Populate a combo box from another combo box selection

3. Combo box selection narrows next combo box choices

4. Limitation of List Box & Combo boxes

5. dialog box with list box or combo box

6. Limiting Access to Text Boxes, List Boxes and Combo Boxes

7. How to list macro names in a combo box or a list box

8. Handle Selection change in Combo/List Box in VB 5.0

9. ***** Question: Finding a record based on the selection from a Combo Box or List

10. ***** Question: Finding a record based on the selection from a Combo Box or List

11. Can't get Combo Box selection into Text Box

12. Combo box spawning list box

 

 
Powered by phpBB® Forum Software