[VB6]Combo Box fixee

teebo Messages postés 33585 Date d'inscription   Statut Contributeur Dernière intervention   -  
teebo Messages postés 33585 Date d'inscription   Statut Contributeur Dernière intervention   -
Salut tout le monde...
Je cherche a avoir une combo box ou les gens ne peuvent que selctionner quelque chose existant deja . Le probleme est que je n'ai trouve que locked comme propriete mais du coup je ne peux meme plus selectionner...

.  .
\_/
      Heeeeeeuuuuuuu

1 réponse

  1. teebo Messages postés 33585 Date d'inscription   Statut Contributeur Dernière intervention   1 797
     
    Ch'suis con moi:

    Private Sub cbDeviceType_Change()
        If cbDeviceType <> "" And cbDeviceType.Text <> "0" Then _
            MsgBox "You have to select an existing value", vbExclamation, "ERROR"
        cbDeviceType.Text = ""
    End Sub


    .  .
    \_/
          Heeeeeeuuuuuuu
    0