Recent

Author Topic: Control "Frame1" has no parent window. When using VirtualStringTree.  (Read 960 times)

vertnik

  • New Member
  • *
  • Posts: 31
Hi!

When I am using virtualstringtree in TFrame, I got an error Control "Frame1" has no parent window.
This happens when I enabled "LCL scaling" in project settings and Scaled property in Frame1 is set to True.
When I switch off Scaled in Frame1 or dissabled "LCL scaling", error does not ocuur.

Br, Robert

Lazarus 2.0.10 - 64bit
Windows 10

vertnik

  • New Member
  • *
  • Posts: 31
Re: Control "Frame1" has no parent window. When using VirtualStringTree.
« Reply #1 on: April 12, 2021, 11:22:42 am »
Hi!

I forgot to mentioned, that this error happens, when I try to open project in Lazarus
after I changed the size of text in wondows 10.

Br, Robert

wp

  • Hero Member
  • *****
  • Posts: 11858
Re: Control "Frame1" has no parent window. When using VirtualStringTree.
« Reply #2 on: April 12, 2021, 11:28:53 am »
IIRC there was a bug in LCL scaling regarding frames. Please check out v2.0.12.

vertnik

  • New Member
  • *
  • Posts: 31
Re: Control "Frame1" has no parent window. When using VirtualStringTree.
« Reply #3 on: April 12, 2021, 12:17:10 pm »
I installed Lazarus2.0.12 but error still remains.

How to reproduce this error (step-by-step):
1.Create empty project
2.Create New Frame
3.Put virtualstringtree in Frame
4.Save project (with LCL scaling ON and Scaled in Frame1 ON)
5.Close Lazarus IDE
6.Change Display settings in Windows 10 (change "Make everything bigger" to some new value)
7.Open Lazurus IDE. Error happens while Lazarus try to open project.

Br, Robert

 

TinyPortal © 2005-2018