I have a picture box with the following event procedure

VB Code:
  1. 'This routine is trigerred when the user click on the picture box,
  2. 'it notes the coordinates of the click
  3. Private Sub picSample_MouseDown(intButton As Integer, intShift As Integer, sngX As Single, sngY As Single)
  4.     'Add the coordinates to the list box in (x,y) format
  5.      lstPositions.AddItem "(" & sngX & "," & sngY & ")"
  6.      'Take those coordinates (where user clicked) and place an 'X'
  7.      picSample.CurrentX = sngX
  8.      picSample.CurrentY = sngY
  9.      picSample.Print "X"
  10. End Sub

Then the user can remove an entry from the listbox and then remove the X....how can I remove the X?

VB Code:
  1. 'Removes a selected item from the list box
  2. Private Sub cmdDelete_Click()
  3.     Const colGrey = &H8000000F
  4.     For i = 0 To (lstPositions.ListCount - 1)
  5.         If (lstPositions.Selected(i) = True) Then
  6.             strMid1 = Mid(lstPositions.List(i), 2, (Len(lstPositions.List(i)) - 2))
  7.             strSplit1 = Split(strMid1, ",")
  8.             picSample.CurrentX = strSplit1(0)
  9.             picSample.CurrentY = strSplit1(1)
  10.             picSample.ForeColor = colGrey
  11.             picSample.Print "X"
  12.             lstPositions.RemoveItem lstPositions.ListIndex
  13.             picSample.ForeColor = vbBlack
  14.         End If
  15.     Next i
  16. End Sub

As you can see I have found a cheap way to do it, but this marks the spot where the X was if a picture exists in the picture box