Dim ipanel as panel = TryCast(TableLayoutPanel.Getcontrolfromposition(i,j),panel) ipanel.backcolor = color.gray ' for example
Dim c As Control = Me.TableLayoutPanel1.GetControlFromPosition(i, j) If c.HasChildren() Then Dim pt As Point Dim L As Control = c.GetChildAtPoint(pt) L.Text = c.Tag End If
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)