Recent

Author Topic: Frames and Forms in Packages  (Read 1615 times)

JimKueneman

  • Full Member
  • ***
  • Posts: 220
Frames and Forms in Packages
« on: January 26, 2014, 04:36:12 am »
I have added 2 descents of TFrame into a custom package two different ways.  Each seems to be "different" but neither do what I expect:

1) I created a new TFrame and designed it in the designer.  I added the *.pas and *.lfm file to the package through the add file buttons.  This one I can edit visually but it does not show in the toolbar of my custom package (I do see the Register Unit) checkbox that does what I believe adds it to the toolbar)

2) I create a new TFrame descendent from the dialog box in the package "Add".  This sets it all up to be in the toolbar but there is no *.lfm file to edit it visually.

So what is the correct way to do this?  Can you have a *.lfm file for a TFrame or TForm descendent in a custom package?

Jim

JimKueneman

  • Full Member
  • ***
  • Posts: 220
Re: Frames and Forms in Packages
« Reply #1 on: January 26, 2014, 04:40:03 pm »
Ok so I did the work to put version 1) into the package.  It showed up as a component on the toolbar but when I drop it in a Form none of the child controls show up at design time.  They appear when I run the application.  This is 1.2 RC1 under Mavericks.

Jim

 

TinyPortal © 2005-2018