Information générale
Catégorie:
Codage, syntaxe et commandes
Just in case there isn't a way (I would love to know if there was a way) I'll tell you how I would do it. Change the font of the combo box to Courier (this way all spacing is the same) and then combine your entries before you add them; then use the itemdata to store the unique holder that you will refer to with your ListIndex property.
dim string1 as string * 20
dim string2 as string * 20
string 1 = "First Column"
string 2 = "Second Column"
cboCombo.additem string1 & string2
cboCombo.itemdata(cboCombo.newIndex) = You're unique numeric identifier
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement