Recent

Author Topic: TFrame descendant in a package -access violation  (Read 3063 times)

tk

  • Sr. Member
  • ****
  • Posts: 364
TFrame descendant in a package -access violation
« on: July 30, 2015, 08:42:29 pm »
Hi,
I've problem when dropping a TFrame descendant to a form.
I have this TFrame descendant in my package (lpk).
Creating this TFrame at runtime works ok and dropping this TFrame on a form in Delphi works ok either.

But when I drop this TFrame to form in Lazarus i get error message:

Error creating component: TxxxFrame Access Violation.

Is there some error log that would say more to me or where should I start?

Thank you

tk

  • Sr. Member
  • ****
  • Posts: 364
Re: TFrame descendant in a package -access violation
« Reply #1 on: July 31, 2015, 03:28:01 pm »
I reply to myself.
Seems to be a bug in Lazarus or the feature has not been implemented yet.
Now I tried with a single TFrame and 2 buttons on it, only standard components.
When placing such frame on a form I don't get exception but those 2 buttons don't appear.

I'll try in newest stable Lazarus and report again.

Edit: Confirmed, latest stable version 1.4.2 behaves the same way -> I am placing a new bug report.
« Last Edit: July 31, 2015, 04:14:20 pm by tk »