Hi,
Another of those moments... I'm using the following code in a Listbox CellTextPaint
If Me.Selected(row) = True Then
g.ForeColor = RGB(0,0,0)
End If
If row = 0 Then
g.DrawString Me.Cell(row, column), x, 15, g.width - (x + 3) , False
else
Return False
End If
The selected color works perfectly, however I´m trying to get the text into two lines in column one, the code I have above works perfectly but only for the first Row, the following rows are not being drawn properly, plus the column in the thrid row is being split into two lines. Am I missing something?