Re: Buiding a form inside another form
"Fabiano Paolini" <[email protected]>
| Newsgroups | gmane.comp.lang.delphi.programming |
|---|---|
| Message-ID | <01bc01c34f95$0e0e3780$2716a8c0@PAOLINI> |
With this code I can show a Form inside a Panel: procedure TForm1.FormShow(Sender: TObject); Var F:TForm2; begin F:=TForm2.Create(Self); F.Parent:=Panel1; F.Align:=alClient; F.Visible:=True; end; I don't know if all is working properly (this isn't a real project!); but Form2 has a menu and this isn't displayed anywhere! IMO menu can be displayed only in real forms not in other places (OS management). You can try to merge your menu with main menu (this is possible with MDI style and, I think, thare are some APIs to manage merge menus. Fabiano ----- Original Message ----- From: "Axel Canicio" <[email protected]> To: <[email protected]> Sent: Monday, July 21, 2003 3:41 PM Subject: Re: [Delphi] Buiding a form inside another form > Hi again, > > Thanks for your answer. > > I have a form that has a tmemo in it (a kind of script editor), and I' like > to reuse the whole form (with its menu dialog), by inserting it in a > Ttabsheet control. That way it minimizes the number of active windows in my > application. > Then is there a way to put a TMenu inside a TTabsheet ? > > Thanks > Axel > > > > ----- Original Message ----- > From: "Fabiano Paolini" <[email protected]> > To: <[email protected]> > Sent: lundi 21 juillet 2003 15:33 > Subject: Re: [Delphi] Buiding a form inside another form > > > > I think no (from delphi 6? you can use Frames for similar result, but not > in > > D3!). > > > > I think is possible at runtime (i made some trial and I tthink is > possible, > > but after delphi 6 I'm using frames). > > > > Fabiano > > > > ----- Original Message ----- > > From: "Axel Canicio" <[email protected]> > > To: <[email protected]> > > Sent: Monday, July 21, 2003 3:19 PM > > Subject: [Delphi] Buiding a form inside another form > > > > > > > Hello everybody, > > > > > > I'm working with Delphi 3 Professional edition. > > > > > > Is there a way to put a form inside another form (at design time) ? > > > > > > Cheers > > > Axel > > > > > > > > > > > > > > > CodeCoffer - new Delphi code protection Tool! > > > http://www.delphicollection.com/public/CodeCoffer.htm > > > --------------------------------------------------------------- > > > Unsubscribe:[email protected] > > > List owner:[email protected] > > > --------------------------------------------------------------- > > > > > > Your use of Yahoo! Groups is subject to > http://docs.yahoo.com/info/terms/ > > > > > > > > > > > > > > CodeCoffer - new Delphi code protection Tool! > > http://www.delphicollection.com/public/CodeCoffer.htm > > --------------------------------------------------------------- > > Unsubscribe:[email protected] > > List owner:[email protected] > > --------------------------------------------------------------- > > > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ > > > > > > > > CodeCoffer - new Delphi code protection Tool! > http://www.delphicollection.com/public/CodeCoffer.htm > --------------------------------------------------------------- > Unsubscribe:[email protected] > List owner:[email protected] > --------------------------------------------------------------- > > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ > > ------------------------ Yahoo! Groups Sponsor ---------------------~--> Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511 http://us.click.yahoo.com/sOykFB/k9VGAA/ySSFAA/i7folB/TM ---------------------------------------------------------------------~-> CodeCoffer - new Delphi code protection Tool! http://www.delphicollection.com/public/CodeCoffer.htm --------------------------------------------------------------- Unsubscribe:[email protected] List owner:[email protected] --------------------------------------------------------------- Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/