Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Free frame while clicking button on the same frame

Status
Not open for further replies.

Nordlund

Programmer
Jul 17, 2001
458
SE
Hi there.

I have created a TFrame, and in runtime added it on a Scrollbox. I have a "Close" button on every instance of the fram, but how do I properly close the frame when clicking the button?



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-"There is always another way to solve it, but I prefer my way.
 
post a user message to the form with postmessage and free the frame from there.

-----------------------------------------------------
What You See Is What You Get
Never underestimate tha powah of tha google!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top