Solved

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

Posted on 2002-03-27
3
170 Views
Last Modified: 2010-04-04
Why does it refresh in designing time,but nothing happen in running time?
0
Comment
Question by:SuperPuff
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 3

Expert Comment

by:tongalite
ID: 6905092
.... because it's.....oops!  

run out of points...

;-)
0
 
LVL 3

Accepted Solution

by:
tongalite earned 3 total points
ID: 6905140
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
 

Author Comment

by:SuperPuff
ID: 6909506
 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question