Well, I don't do anything exotic, just what I used to do before and it was working fine so far:
In PrepareColumns I add:
Dim but As New myButtonCol
With but
.ImageList = imgMore
.ButtonImageIndex = 0
.AllowSorting = False
.Width = 16
.AllowSizing = False
End With
dgQueries.Columns.Items.Add(but)
dgQueries.Columns.Items(2).ShowTooltips = False
ConnectToButtonColumn(dgQueries, 2)
And ConnectToButtonColumn is:
Private Sub ConnectToButtonColumn(ByVal flygrid As FlyGrid, ByVal indexOfButtonColumn As Integer)
Dim bc As myButtonCol = DirectCast(FlyGrid.Columns.Items(indexOfButtonColumn), myButtonCol)
MoreOption(dgFields, m_dsFields.Tables(0))
End Sub