Solved

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

Posted on 2002-03-27
3
164 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
Comment Utility
.... because it's.....oops!  

run out of points...

;-)
0
 
LVL 3

Accepted Solution

by:
tongalite earned 3 total points
Comment Utility
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
Comment Utility
 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

771 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

11 Experts available now in Live!

Get 1:1 Help Now