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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I got in trouble with my parents :-)

Status
Not open for further replies.

BobbaFet

Programmer
Feb 25, 2001
903
NL
How can I change the parent of a Tbutton object for example.

Example:

I have the TButton on a TTabbedNoteBook but for some reason I now wanted it be on top a the TForm object.

This because I'm trying to make a "Simple" and "Advanced" mode.

Thanx allot,

BobbaFet Everybody has a right to my opinion.
E-mail me at cwcon@programmer.net
 
hi,

Button1.Parent := Self; {Self is nothing but Form}
This Code will do for you.

Regards
Pradeep. mail me : spradeepraj@dsqsoft.com
Delphidhasan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top