[Lazarus] Visual form inheritance and importing Delphi forms ???

Bogusław Brandys brandys at o2.pl
Wed Mar 5 08:33:18 CET 2008


Mattias Gaertner wrote:
> On Tue, 04 Mar 2008 20:13:13 +0100
> Bogusław Brandys <brandys at o2.pl> wrote:
> 
>> Hello,
>>
>> How is VFI working in lazarus SVN ? Any documentation ?
>>
>> I have a problem converting forms from delphi. A base form is:
>>
>> type
>>    TInstantEditForm = class(TForm)
>> [...]
>> the inherited form just adds a lot of components to base form.
>> Now when I try to import such Delphi forms both looks exactly the
>> same as a base one in other words : all controls from inherited form
>> is lost.
>>
>>
>> What can I do to fix it ?
>>
>>
>> Here is the inherited form declaration (quite big so I placed it at
>> the end of this email) :
>>
>>   TInstantAttributeEditorForm = class(TInstantEditForm)
>> [...]
> 
> Maybe the inherited form was converted before the ancestor form. Then
> the IDE did not found an ancestor.lfm file.
> Just close both designer forms and reopen them again.
> 
> 
> Mattias
> 

There was because I used older Lazarus SVN version and VFI was not good 
enough.Now all is fine.Thank you.


Boguslaw



More information about the Lazarus mailing list