Solved

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

Posted on 2002-03-27
3
166 Views
Last Modified: 2010-04-04
Why does it refresh in designing time,but nothing happen in running time?
0
Comment
Question by:SuperPuff
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

864 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now