This topic is now archived and is closed to further replies.

Form problem in BCB5

This topic is 5625 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, can somebody tell me how to create a form wich is always on top of the main-form.. TForm3 *vForm; vForm = new TForm3(Application); vForm->Parent = Form1; vForm->Show(); If I do this, the new Form is inside the MainForm and that''s not, what I want.. thats the reason why I dont use MDIForms. If I don''t set the parent, the form can move outside, but it''s not always on top of the main form. I don''t want do set fsStayOnTop, because I don''t want the form stay on top off all applications..

Share this post

Link to post
Share on other sites

Or do you want smt else like accessing form1 while form3 is visible, but on top of form1?

yes, I want form1 to be usable during form3 is visible..

Now, I have an additional question (I don't want to start a new thread).. I have a frame (TFrame) inside my form. Inside this frame I placed a button.. I want the following: If the user clicks on this button, the the frame should be deleted...
I've tried the following...

delete this;



but it doesn't work...

[edited by - Kaesebrot on July 25, 2002 7:14:02 AM]

Share this post

Link to post
Share on other sites