T
Terry Olsen
Here's my code:
Private Sub dgServerList_CurrentCellChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles dgServerList.CurrentCellChanged
If dgServerList.CurrentCell.ColumnNumber = 2 Then
Dim cellRect As Rectangle =
dgServerList.GetCurrentCellBounds()
cboMailList.SetBounds(cellRect.X, cellRect.Y,
cellRect.Width, cellRect.Height)
cboMailList.Show()
Else
cboMailList.Hide()
End If
End Sub
Problem: The combobox shows up above & left of the cell it should be
covering. Can anyone help? Thanks!
Private Sub dgServerList_CurrentCellChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles dgServerList.CurrentCellChanged
If dgServerList.CurrentCell.ColumnNumber = 2 Then
Dim cellRect As Rectangle =
dgServerList.GetCurrentCellBounds()
cboMailList.SetBounds(cellRect.X, cellRect.Y,
cellRect.Width, cellRect.Height)
cboMailList.Show()
Else
cboMailList.Hide()
End If
End Sub
Problem: The combobox shows up above & left of the cell it should be
covering. Can anyone help? Thanks!