Recent

Author Topic: [CLOSED] Bounds  (Read 2326 times)

pcurtis

  • Hero Member
  • *****
  • Posts: 937
[CLOSED] Bounds
« on: December 06, 2021, 07:11:06 pm »
Are there methods / properties to set / get the boundaries of a component?
Like
memo1.boundaries := memo2.boundaries
« Last Edit: December 06, 2021, 07:33:13 pm by pcurtis »
Windows 10 20H2
Laz 2.2.0
FPC 3.2.2

Handoko

  • Hero Member
  • *****
  • Posts: 4521
  • My goal: build my own game engine using Lazarus
Re: Bounds
« Reply #1 on: December 06, 2021, 07:23:03 pm »
That sounds interesting. Can you explain in more detail.

TMemo already has these methods/properties:
- BoundsRect
- BeginUpdateBounds / EndUpdateBounds
- BaseBounds
- SetBounds
- ReadBounds
- SetInitialBounds

Did you mean any one of above?

pcurtis

  • Hero Member
  • *****
  • Posts: 937
Re: Bounds
« Reply #2 on: December 06, 2021, 07:32:09 pm »
Now I see. Ok problem solved.
Windows 10 20H2
Laz 2.2.0
FPC 3.2.2

 

TinyPortal © 2005-2018