Hey there!
The origin of my problem is a form with a tablelayoutpanel – which as we I know only allows one element per cell.
Now one cell contains a resizing textbox. On top of this textbox I will have to place a few pictureboxes (just some pics in the text – and there is no possibility to place them as real pics in a richtextbox).
Now although the concept of a tablelayoutpanel allows only one element per cell I was thinking maybe after the form is painted it would be possible to place another element above – just by creating a picbox right from code:
PictureBox pb = new PictureBox();
pb.Size = new System.Drawing.Size(49,49);
pb.Location = new Point(20,20);
this.controls.Add(pb);
Now this isn’t working…..any ideas how to bypass this problem?
thanks for any help!!!!!
Greetings,
Lorenz
Your picture box is at the bottom of the Z-order, covered by other controls. Add this line: