Recent

Author Topic: Anchors and hiding controls  (Read 13865 times)

VTwin

  • Hero Member
  • *****
  • Posts: 1227
  • Former Turbo Pascal 3 user
Re: Anchors and hiding controls
« Reply #15 on: January 17, 2014, 08:57:06 pm »
Excellent! That does indeed do the trick.

Many thanks Martin!

The online help says that Nil is equivalent to Parent. I assumed that the Control Parent was the Form. Is the help wrong?

Frederick


“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 15.3.2: Lazarus 3.8 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 3.8 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 3.8 (64 bit on VBox)

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 11181
  • Debugger - SynEdit - and more
    • wiki
Re: Anchors and hiding controls
« Reply #16 on: January 17, 2014, 09:06:56 pm »
nil is parent, but with different effects.

- nil keeps the design-time distance
- parent keeps borderspace distance

VTwin

  • Hero Member
  • *****
  • Posts: 1227
  • Former Turbo Pascal 3 user
Re: Anchors and hiding controls
« Reply #17 on: January 17, 2014, 10:29:04 pm »
Thanks Martin,

A bit confusing, but I'll just remember to use Parent.

Cheers,
Frederick
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 15.3.2: Lazarus 3.8 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 3.8 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 3.8 (64 bit on VBox)

 

TinyPortal © 2005-2018