So, lets say I have a panel on a winform and I want it displayed at particular point and should have a specific width and height on the winform. Plus, I want to do it during run-time.
So, what is the difference and the right way to move and set panel's dimensions?
This way:
Panel1.bounds.X:=10;
Panel1.bounds.Y:=10;
Panel1.bounds.width:=100;
Panel1.bounds.height:=103;
Or This way:
Panel1.Left := 10;
Panel1.Top := 10;
Panel1.width:=100;
Panel1.height:=103;
Or Both ways should have the same effect on the panel1.
I am trying to figure out what really is wrong with my program...Although I have asked a question specific to my problem, no one even attempted to answer or even able to leave comment. So, I am asking bits and piece of question to understand my problem.