Recent

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

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • 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: 1289
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: 6676
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
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • 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

  • Administrator
  • Hero Member
  • *
  • Posts: 11383
  • 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