Sign in Join

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

Mailing lists / lazarus / 2012-12

Can't create fields in DesignTime

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

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

Krzysztof

Hi,

I have SQLite3Connection and SQLQuery. SQLQuery has defined some field defs and I want create fields from them (right click -> edit fields) but I get access violation error and all my defined fields are gone. Second problem is that lazarus don't recognize that I edited field defs (saving project doesn't save field defs), I must edit something in project source and then save changes. Creating field defs and fields in runtime is working finde. I'm using CodeTyphon 3.10, I tried to check this issue on original lazarus but I can't compile Lazarus latest trunk, I get error "Can't find unit LResources used by LazRes" in unit Graphics

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20121224/23e7a85f/attachment.html>

Reply by email

Mattias Gaertner
to Krzysztof
Show quoted text 5 lines
Hi, I have SQLite3Connection and SQLQuery. SQLQuery has defined some field defs and I want create fields from them (right click -> edit fields) but I get access violation error and all my defined fields are gone.

Please create a bug report. It would be nice if you could add an example and/or a backtrace.

Second problem is that lazarus don't recognize that I edited field defs (saving project doesn't save field defs), I must edit something in project source and then save changes.

The field editor should call Modified.

Creating field defs and fields in runtime is working finde. I'm using CodeTyphon 3.10, I tried to check this issue on original lazarus but I can't compile Lazarus latest trunk, I get error "Can't find unit LResources used by LazRes" in unit Graphics

Have you tried to stop IDE, delete packagefiles.xml, start IDE and compile clean?

Mattias

Reply by email