I have a panel on the form located at
Panel1.Top = 450
Panel1.left = 6
Panel1.Width = 104
Panel1.Height = 31
So to paint a border around the panel I do the following.
{Panel1}
R.Left := 6; R.Right := 688; {R.Right := R.Left + Panel1.Width}
R.Top := 450; R.Bottom := 500; {R.Bottom := R.Top + Panel1.Height}
Canvas.Rectangle(R);
Wondering if there isn't someway to do:
Canvas.Rectangle(R,Panel1); Which didn't work.