Hello,
I want to draw the border, for each bottom panel (as you can see into the image) to differentiate each ones.
The panels are created dinamically by code.
'****** When you create panel by code
'Cnv is a global variable dim cnv as Canvas
cnv.Initialize(pnl)
Dim Path1 As Path
Path1.Initialize(0, 0)
Path1.LineTo(pnl.Width, 0)
Path1.LineTo(pnl.Width, pnl.Height)
Path1.LineTo(0,pnl.Height)
Path1.LineTo(0,0)
cnv.DrawPath(Path1, Colors.Magenta, False, 10dip)
pnl.Invalidate