[DUG] Arrgh Form Hell
Robert martin
rob at wildsoft.co.nz
Thu May 17 15:34:49 NZST 2007
Perfect !!!!
That worked a charm. Thanks very, very much.
Rob Martin
Software Engineer
phone +64 03 377 0495
fax +64 03 377 0496
web www.chreos.com
Wild Software Ltd
Alister Christie wrote:
> In the .dfm file you may to change (right click on the form and select
> view as text)
> object Form1: TForm1
> to
> inherited Form1: TForm1
>
> Alister Christie
> Computers for People
> Ph: 04 471 1849 Fax: 04 471 1266
> http://www.salespartner.co.nz
> PO Box 13085
> Johnsonville
> Wellington
>
>
> Robert martin wrote:
>> Hi All
>>
>> I am taking a beating with form inheritance !
>>
>> I have two master template forms T1 and T2
>>
>> T2 inherits from T1
>>
>> All forms in the app inherit from either T1 or T2.
>>
>> I wanted to add a property to T1. However this never showed in the
>> object inspector. After reading I discovered I needed to add a T0
>> which only defined properties and have T1 inherit from it. T0 needed
>> to be registed in a package.
>>
>> This worked in the T1 now shows the property as do all forms that
>> inherit from it, apart from T2 !!!! Does anyone have any suggestions?
>>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at delphi.org.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at delphi.org.nz with
> Subject: unsubscribe
>
More information about the Delphi
mailing list