ComboBox Not In List

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

The Microsoft Access comboBox control has a LimitToList property and a
NotInList event. Can someone point me to code samples that cleanly emulates
these control features from Access?

All of the things I tried seem to be sloppy coding practice.
 
Genoejoe.

I don't get it, can you explain us why you ask a MS Access question in a
Visual Basic dotnet Language newsgroup?

Cor
 
Genojoe,

After rereading it, I understand the message. But maybe it is easier to tell
the behaviour than to let us investigage what that behaviour is. An answer
is than easier to give.

Cor
 
Cor said:
I don't get it, can you explain us why you ask a MS Access question
in a Visual Basic dotnet Language newsgroup?

Because he wants to know how to replicate these features in a VB.NET
application.
 
genojoe said:
The Microsoft Access comboBox control has a LimitToList property and a
NotInList event. Can someone point me to code samples that cleanly emulates
these control features from Access?

All of the things I tried seem to be sloppy coding practice.

You may restrict the ComboBox to a list by setting its DropDownStyle
property to "DropDownList";

To verify if an item is not already in the compbox list, notice that
the Items property is a collection: you can invoke its Contains( )
method.

HTH.

Regrads,

Branco.
 
Back
Top