Re: [Lazarus] Bug when using frames

2019-04-15 Thread Michael Van Canneyt via lazarus
On Mon, 15 Apr 2019, Juha Manninen via lazarus wrote: On Mon, Apr 15, 2019 at 10:52 AM Michael Van Canneyt via lazarus wrote: When you work with frames, you cannot change the frame in the designer when the frame is used in other frames/forms. Maybe related to : https://bugs.freepascal.org/

Re: [Lazarus] Bug when using frames

2019-04-15 Thread Juha Manninen via lazarus
On Mon, Apr 15, 2019 at 10:52 AM Michael Van Canneyt via lazarus wrote: > When you work with frames, you cannot change the frame in the designer when > the frame is used in other frames/forms. Maybe related to : https://bugs.freepascal.org/view.php?id=20026 or https://bugs.freepascal.org/view.p

Re: [Lazarus] Bug when using frames

2019-04-15 Thread Marcos Douglas B. Santos via lazarus
On Mon, Apr 15, 2019 at 5:06 AM Ondrej Pokorny via lazarus wrote: > ... > I rather create all my frames in runtime, which I also did in Delphi. > Even Delphi lost properties/events (set event handlers to nil) of > controls in frames quite frequently. +1 Much better create them, docking on a panel

Re: [Lazarus] Bug when using frames

2019-04-15 Thread Ondrej Pokorny via lazarus
On 15.04.2019 09:52, Michael Van Canneyt via lazarus wrote: Before I dive in the bugtracker and create 3 bug reports, are these known issues ? I don't know if there are bug reports about it but I have been facing the same issues ever since as well. I didn't have the motivation to work on the

[Lazarus] Bug when using frames

2019-04-15 Thread Michael Van Canneyt via lazarus
Hi, When you work with frames, you cannot change the frame in the designer when the frame is used in other frames/forms. - Create frame. - Add Control on frame (eg button) - Drop frame on a form or frame, keep open - Add event handler in original frame (e.g. Button.OnClick) -> event handler i