• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 174
  • Last Modified:

I change a panel's BorderWidth in running time ,but seems that it doesn't refresh. Why?

Why does it refresh in designing time,but nothing happen in running time?
0
SuperPuff
Asked:
SuperPuff
  • 2
1 Solution
 
tongaliteCommented:
.... because it's.....oops!  

run out of points...

;-)
0
 
tongaliteCommented:
Hi,
try this:

//set these properties in Obj Insp'
Borderstyle=> bsSingle
BevelInner => bvLowered
BevelOuter=> bvRaised
BevelWidth =>10
BorderWidth =>10

NOTE:The border of a panel is the area between the outer and inner bevels. It is visible only if the inner bevel is raised or lowered,

//Do this....

procedure TForm1.Button1Click(Sender: TObject);
begin
panel1.borderwidth:=0;

end;

end.
////////////////////////////////////////////////////////


Have fun :-)
tongalite



0
 
SuperPuffAuthor Commented:
 Hi,tongalite .I saw your profile .We are both beginners and lack of background in IT/Programming.If you don't mind ,maybe we can share some feeling and experience.
My email is : daiwengai@hotmail.com.
  Best regard!
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now