High-Tech
Santé-Médecine
Droit-Finances
CodeS-SourceS
Inscription
Plan
Connexion
Rechercher un code, un tuto, une réponse
Accueil
Forum
Tutoriels
Codes Sources
Snippets
Top membres
Tous les langages
Delphi / Pascal
Java
Python
SQL
RegEx
Flash
ASM
IRC
Graphisme
PDA
ColdFusion
Foxpro
Flex
Visual Basic / VB.NET
Forum
Tutoriels
Codes Sources
Snippets
Top membres
PHP
Forum
Tutoriels
Codes Sources
Snippets
Top membres
C/C++/C++.NET
Forum
Tutoriels
Codes Sources
Snippets
Top membres
Javascript
Forum
Tutoriels
Codes Sources
Snippets
Top membres
C#/.NET
Forum
Tutoriels
Codes Sources
Snippets
Top membres
ASP/ASP.NET
Forum
Tutoriels
Codes Sources
Snippets
Top membres
Accueil
Connexion
Déposer un code
Code
Recherche
Haut
Accueil
Forum Codes-Sources
Visual Basic
Sujet Précédent
Sujet Suivant
Listbox
Résolu
snarkpit29
Messages postés
28
Date d'inscription
mercredi 15 décembre 2004
Statut
Membre
Dernière intervention
20 juin 2006
- 14 janv. 2005 à 10:58
cs_ITALIA
Messages postés
2169
Date d'inscription
vendredi 20 avril 2001
Statut
Membre
Dernière intervention
30 juin 2009
-
14 janv. 2005 à 12:59
Je voudrai selectionner automatiquement la premiére valeur d'une liste box comment ont fait.
Pareil pour un combobox.
Afficher la suite
A voir également:
Listbox
Listbox vba
✓
-
Forum VBA Office (Excel, Word ...)
Listbox
✓
-
Forum C# / .NET
Listbox delphi
✓
-
Forum Delphi / Pascal
Vba sort listbox
✓
-
Forum Visual Basic 6
Listbox selected item
✓
-
Forum C# / .NET
4
réponses
Réponse 1 / 4
cs_ITALIA
Messages postés
2169
Date d'inscription
vendredi 20 avril 2001
Statut
Membre
Dernière intervention
30 juin 2009
9
14 janv. 2005 à 11:28
If Combo1.ListCount > 1 Then Combo1.Text = Combo1.List(0)
It@li@
Réponse 2 / 4
cs_ITALIA
Messages postés
2169
Date d'inscription
vendredi 20 avril 2001
Statut
Membre
Dernière intervention
30 juin 2009
9
14 janv. 2005 à 12:59
Je Pense que ça devrait être ça :
Pour la TextBox :
Text1.Text=Combo1.text ou Text1=Combo1.Text
Pour la ListBox :
Text1.Text=List1.text ou Text1=List1.Text
It@li@
Réponse 3 / 4
cs_ITALIA
Messages postés
2169
Date d'inscription
vendredi 20 avril 2001
Statut
Membre
Dernière intervention
30 juin 2009
9
14 janv. 2005 à 11:27
If List1.ListCount > 1 Then List1.Selected(0) = True
It@li@
Réponse 4 / 4
snarkpit29
Messages postés
28
Date d'inscription
mercredi 15 décembre 2004
Statut
Membre
Dernière intervention
20 juin 2006
14 janv. 2005 à 11:37
et pour afficher cette valeur dans un texbox c comment
Merci
Rejoignez-nous
A voir également
Listbox additem
Listbox php
Récupérer les données d'une listbox vba
Vb.net listbox
Listbox: sélection d'un item