[Lazarus] Nice error in IDE - missing form resource

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Mar 26 22:00:00 CET 2011


On Sat, 26 Mar 2011 22:47:30 +0200
"Juha (gmail)" <juha.manninen62 at gmail.com> wrote:

> Michael Van Canneyt kirjoitti lauantai, 26. maaliskuuta 2011 21:43:19:
> > When I click 'check consistency' in the Key mappings page of the options
> > dialog, I get a nice error that the form's resources cannot be found.
> 
> r30021, I fixed it like this:
> 
> constructor TKeyMapErrorsForm.Create(AnOwner: TComponent);
> begin
>   inherited CreateNew(AnOwner);
>   ...
> 
> calling "inherited CreateNew" instead of "inherited Create".
> It works but looks little stupid. Is this the best way to fix it?

Yes.
 
> Anyway it works now.
> The problem happened when there actually were conflicts in the key mapping.


Mattias




More information about the Lazarus mailing list