Recent

Author Topic: Creating a derived frame, inheritable entries empty  (Read 290 times)

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8785
  • FPC developer.
Creating a derived frame, inheritable entries empty
« on: September 17, 2020, 11:45:39 am »
I wamt to create a derivative of a certain frame (visual form inheritance).

I go to "file->new..." and go to "inherited item", but the list is empty. How do I fill this list?

I checked, and the project does have a line in the uses clause with a "typed" comment for it:

Code: Pascal  [Select][+][-]
  1. uses
  2. ...
  3. ...
  4.   autoswitchfrm  {AutoSwitchFrame: TFrame};

af0815

  • Hero Member
  • *****
  • Posts: 584
Re: Creating a derived frame, inheritable entries empty
« Reply #1 on: September 17, 2020, 11:50:36 am »
Normally working here (fixes). If i have Forms, Datamodules and frames in my Project, i see this in my list.

But the baselements must be in the project ! This mean in the project explorer in the files list.
regards
Andreas

MarkMLl

  • Hero Member
  • *****
  • Posts: 1328
Re: Creating a derived frame, inheritable entries empty
« Reply #2 on: September 17, 2020, 11:56:08 am »
This is not something I've used, but with trunk Inherited Item -> Inherited project component has a list populated with forms and frames.

MarkMLl
Turbo Pascal v1 on CCP/M-86, multitasking with LAN and graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8785
  • FPC developer.
Re: Creating a derived frame, inheritable entries empty
« Reply #3 on: September 17, 2020, 02:23:32 pm »
Normally working here (fixes). If i have Forms, Datamodules and frames in my Project, i see this in my list.

But the baselements must be in the project ! This mean in the project explorer in the files list.

They are in the project. But this project is a Delphi conversion, maybe that has something to do with it.  The form files are still called DFM

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8785
  • FPC developer.
Re: Creating a derived frame, inheritable entries empty
« Reply #4 on: September 18, 2020, 08:28:56 am »
Hmm, on a different PC they _are_ there. So it is either a Lazarus fluke, something that is locale dependent (one machine Dutch localization, one US-int) or a project file other than .lpr + .lpi that contains the info.

 

TinyPortal © 2005-2018