foxtable没有这种功能。
如果要做,就动态嵌入控件,参考代码
Dim _flex = CurrentTable.grid
_flex.controls.clear
For Each dr As DataRow In DataTables("背景批注").Select("表名 = '" & CurrentTable.name & "'")
For Each c As String In dr("批注").split("|")
Dim ary() = c.split(",")
If c > "" Then
Dim cell = _flex.GetCellRect(dr("行号"), CurrentTable.Cols(ary(0)).Index+1)
Dim btn1 As new windows.Forms.label
btn1.name = "btn" & dr("行号")
btn1.text = ary(1)
btn1.left = cell.x+cell.width-10
btn1.top = cell.y+cell.height-10
btn1.backcolor = Color.yellow
btn1.width = 100
btn1.height = 100
_flex.controls.add(btn1)
End If
Next
Next