[Lazarus] IDE unable to load form due to missing property

Tony Whyman tony.whyman at mccallumwhyman.com
Fri May 15 15:16:09 CEST 2015


Open the problem form in the designer.

Ignore the missing property error and continue loading

Do something to change the form. e.g. move it

Save the form.

now re-compile

On 15/05/15 14:13, Graeme Geldenhuys wrote:
> Hi,
>
> I'm referring to this change.
>
> ========[svn r46263]==============
> commit 53ca8b6c866480b5accbaa24049e5485f840a03d
> Author: juha <juha at 4005530d-fff6-0310-9dd1-cebe43e6787f>
> Date:   Sat Sep 20 09:21:20 2014 +0000
>
>      LCL: remove unused TDateEdit.DialogTitle. Issue #1278
>
>      git-svn-id: http://svn.freepascal.org/svn/lazarus/trunk@46263
> 4005530d-fff6-0310-9dd1-cebe43e6787f
> ======================
>
>
> Probably my limited use of LCL, but any idea what the error below means
> or how to resolve it? I now get a runtime error in my application when
> this specific form is being loaded.
>
> ==============================
> 2015-05-15 13:55:12 9504 Error Handled exception type "EReadError",
> message "Error reading EDatum.DialogTitle: Unknown property: "DialogTitle""
> ...snip...
> 2015-05-15 13:55:12 9504 Error Backtrace:   $00000000005F2246 line 86 of
> gui/frmberekendetoets.pp
> 2015-05-15 13:55:12 9504 Error Backtrace:   $00000000005FC1C4 line 1155
> of gui/frmpunten.pp
> 2015-05-15 13:55:12 9504 Error Backtrace:   $00000000005F8CAC line 282
> of gui/frmpunten.pp
> ==============================
>
>
> While in Lazarus IDE, I tried loading the form in question using the
> form designer, but then Lazarus gives me the following error:
> ==============================
> Stream=TBerekendeToetsForm: Root=:TBerekendeToetsForm
> Component Class: TDateEdit
> Error reading EDatum.DialogTitle: Unknown property: "DialogTitle"
> Stream position: 4096
> ==============================
>
> Selecting "Continue Loading" shows the form, but closing it and opening
> it, I get the same error again.
>
> I take it a previously known property doesn't exist any more? But how do
> I resolve this in my application and allow Lazarus IDE to load the form?
>
> I'm using Lazarus 1.5 r48959 FPC 2.6.4 x86_64-linux-gtk 2.
>
>
> Regards,
>    - Graeme -
>





More information about the Lazarus mailing list