Welcome, Guest
Username: Password: Remember me
CodeTyphon MS Windows (Win7, Win8.x, Win10 and Win11) OS Development, discussions and problems
  • Page:
  • 1

TOPIC:

Form inheritance not working? 11 years 1 month ago #4518

  • Wai-kit
  • Wai-kit's Avatar Topic Author
  • Visitor
  • Visitor
Hi,
I am new in Lazarus, CT in this case. I am trying to use Visual Form Inheritance in CT.
Although it is possible to create a new form in the designer, I am not able to place visual
components in the newly created form (derived from another form).
Does anybody have experiences with this?

Cheers,
Wai

Please Log in or Create an account to join the conversation.

Form inheritance not working? 11 years 1 month ago #4519

  • DiMiTRiOS
  • DiMiTRiOS's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 30
  • Thank you received: 3
Yes, me too. Since CT 4.00 !
I guess is a Lazarus bug ???
AI can not win the natural stupidity

Please Log in or Create an account to join the conversation.

Form inheritance not working? 11 years 1 month ago #4520

  • Aleksandar
  • Aleksandar's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 150
  • Thank you received: 31
I really do not have time to try this or to spend some more time searching the web, but I have done some quick search, since I think that form inheritance is important feature.

To be honest, I have never done this in CT or Lazarus, but I have done it in Delphi many times. In Delphi you need to add RegisterCustomModule procedure, but I can not find anything similar for Lazarus.

At lest I found this post , and at first sight this looks same as problem you described.

Maybe you should try to find that bug report and to see the status of it.

If you find anything about this issue, please post here.

Please Log in or Create an account to join the conversation.

Form inheritance not working? 10 years 11 months ago #4836

  • Adular
  • Adular's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 17
  • Thank you received: 2
It was a Lazarus-Bug.
fixed with CT 4.60
see: www.pilotlogic.com/sitejoom/index.php/fo...-g-on-a-derived-form
The following user(s) said Thank You: 4aiman

Please Log in or Create an account to join the conversation.

Form inheritance not working? 10 years 11 months ago #4840

  • 4aiman
  • 4aiman's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Comix creator
  • Posts: 227
  • Thank you received: 12
Never tried to do it with a main form :)
Thanks for the link!
コンソールマニアック

Please Log in or Create an account to join the conversation.

  • Page:
  • 1