Bonjour,

Je dois faire évoluer un code en VB6 et je reste perplexe devant la signification des lignes ci-dessous.

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
Private Sub Option_Mark_Click(Index As Integer)
If Option_Mark(0).Value = True Then SelectionAttributes = SelectionAttributes And 231
If Option_Mark(1).Value = True Then SelectionAttributes = (SelectionAttributes And 239) Or 8
If Option_Mark(2).Value = True Then SelectionAttributes = (SelectionAttributes And 247) Or 16
If Option_Mark(3).Value = True Then SelectionAttributes = SelectionAttributes Or 24
End Sub
Comment peut il y avoir des "And" et "Or" pour determiner "SelectionAttributes " ? Comment traduire ces lignes svp ?

Merci,

Drics.