Recent

Author Topic: TFrame in a TForm, events disappear..  (Read 11795 times)

n7800

  • Hero Member
  • *****
  • Posts: 675
  • Lazarus IDE contributor
    • GitLab profile
Re: TFrame in a TForm, events disappear..
« Reply #15 on: February 24, 2026, 11:45:24 pm »
I have to agree that frame changes don't automatically update all open forms, and this often leads to problems. There have been many duplicate reports of such bugs (or feature requests, but whatever).

But that's no reason to never use them. They work well as long as you don't edit in IDE both the frame and the form using it simultaneously. In theory, a frame is like a component. It's developed "once", and then simply connected to forms.

Handoko

  • Hero Member
  • *****
  • Posts: 5530
  • My goal: build my own game engine using Lazarus
Re: TFrame in a TForm, events disappear..
« Reply #16 on: February 25, 2026, 03:16:10 am »
TFrame has many limitations, I had bad experience using it. I personally prefer using TForm in a TForm.

 

TinyPortal © 2005-2018