Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-08

Visual Form Inheritance support

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

luiz americo pereira camara

Does Lazarus implements Visual Form Inheritance feature present in Delphi?

If yes, is there an example?
If no, are there plans to add this feature?

FYI: I don't need/plan to use this feature. I'm asking because i'm porting a Delphi component that introduced a change to support VFI. I want to know if i will bother with it or just ignore this change.

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140803/1ffea8c2/attachment.html>

Reply by email

Mattias Gaertner
to luiz americo pereira camara
Does Lazarus implements Visual Form Inheritance feature present in Delphi?

Yes.
But not all changes to the ancestor are propagated to the descendants in real time.
It's recommended to close the descendants before editing the ancestor.

If yes, is there an example?

Create an application. Then create an inherited item.

Mattias

Reply by email

luiz americo pereira camara
to Mattias Gaertner

2014-08-04 3:22 GMT-03:00 Mattias Gaertner :

Show quoted text 8 lines
On Sun, 3 Aug 2014 18:41:27 -0300 luiz americo pereira camara wrote: > Does Lazarus implements Visual Form Inheritance feature present in Delphi? Yes.

Thanks. For the record, in Lazarus is not necessary to use the workaround used in the Delphi component

Luiz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140804/ef68598b/attachment.html>

Reply by email

vfclists .
to Mattias Gaertner: On Sun, 3 Aug 2014 18:41:27 -0300 Yes. But not all changes to the ancestor are propagated…

Does this work for frames as well?

My experience suggest that when a frame is embedded in a form at design time, changes to the original are not propagated to the embedded version.

Is this by design, or am I missing something?

Mattias Gaertner wrote 26 lines
On Sun, 3 Aug 2014 18:41:27 -0300 luiz americo pereira camara wrote: > Does Lazarus implements Visual Form Inheritance feature present in Delphi? Yes. But not all changes to the ancestor are propagated to the descendants in real time. It's recommended to close the descendants before editing the ancestor. > If yes, is there an example? Create an application. Then create an inherited item. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140808/8df42c51/attachment.html>

Reply by email

Mattias Gaertner
to vfclists .
Does this work for frames as well?

Yes.

My experience suggest that when a frame is embedded in a form at design time, changes to the original are not propagated to the embedded version.

Yes, as I wrote. Close the descendant designers before editing the ancestor.
Hint:
Disable Tools / Options / Form Editor / Open designer on open unit

Is this by design, or am I missing something?

It is not implemented yet.

Mattias

Show quoted text 31 lines
On 4 August 2014 07:22, Mattias Gaertner wrote: > On Sun, 3 Aug 2014 18:41:27 -0300 > luiz americo pereira camara wrote: > > > Does Lazarus implements Visual Form Inheritance feature present in > Delphi? > > Yes. > But not all changes to the ancestor are propagated to the > descendants in real time. > It's recommended to close the descendants before editing the > ancestor. > > > > If yes, is there an example? > > Create an application. Then create an inherited item. > > > Mattias > > -- > _______________________________________________ > Lazarus mailing list > > http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus >

Reply by email