Solved

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

Posted on 2002-03-27
3
169 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

713 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