Recent

Author Topic: Access violation when opening TFrame descendant in Designer  (Read 3674 times)

regs

  • Jr. Member
  • **
  • Posts: 53
Access violation when opening TFrame descendant in Designer
« on: August 07, 2016, 08:21:40 pm »
Getting access violation when trying to open a unit with TFrame descendant. App compiles and runs without problems, but can't open unit in Editor/Designer. Somehow it was working before.

Sample app project
https://yadi.sk/d/K7VvOEfPtzcfg


Or better post on bug tracker?

regs

  • Jr. Member
  • **
  • Posts: 53
Re: Access violation when opening TFrame descendant in Designer
« Reply #1 on: August 10, 2016, 11:16:14 pm »
Object Reference is Nil is the error.

Lost. Compiles and runs as expected, but won't work in designer.
« Last Edit: August 10, 2016, 11:34:48 pm by regs »

balazsszekely

  • Guest
Re: Access violation when opening TFrame descendant in Designer
« Reply #2 on: August 11, 2016, 05:38:36 am »
I can open all your units/forms with Lazarus trunk/FPC 3.0.0. No issues whatsoever.

regs

  • Jr. Member
  • **
  • Posts: 53
Re: Access violation when opening TFrame descendant in Designer
« Reply #3 on: August 11, 2016, 07:14:29 pm »
I can open all your units/forms with Lazarus trunk/FPC 3.0.0. No issues whatsoever.
Indeed. Was 1.6. Compiled trunk, seem to work.

regs

  • Jr. Member
  • **
  • Posts: 53
Re: Access violation when opening TFrame descendant in Designer
« Reply #4 on: August 13, 2016, 01:23:22 pm »
Not that fully work, though. It keep changing ResourceBaseClass to Form and adding properties to lfm that are not of Frame. That leads to error in runtime.

 

TinyPortal © 2005-2018