Information générale
Catégorie:
Gestionnaire d'écran & Écrans
The values in the field range between 0 and something.
I have an array(x, 2) like:
Array(1, 1) = "First value"
Array(1, 2) = "Second value"
Array(1, 3) = "Third value"
Array(1, 4) = "Fourth value"
Array(1, 5) = "Fifth value"
Array(2, 1) = 0
Array(2, 2) = 1
Array(2, 3) = 2
Array(2, 4) = 3
Array(2, 5) = 4
When the table has the value 3, the combo shows "Second value" (which is the third row in the array) and when the table has the value 0 the combo shows blank.
>>I have a combo box to choose values ranging from 0 to whatever.
>>
>>Before I write code to always add one to the table value, and then subtract one when writing to the table, anybody got any better ideas?
>
>I don't understand why you need to add 1 then subtract 1. What is the issue?
Précédent
Suivant
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