Recent

Author Topic: Simple example of resizing a component on a panel  (Read 5693 times)

chrgra

  • Jr. Member
  • **
  • Posts: 69
Simple example of resizing a component on a panel
« on: June 10, 2017, 12:52:40 am »
Dear members,

I can move a component on a panel during runtime.
But does someone know a turorial tot resize a component with the mouse at run time including the size arrows?

Regards chris

RAW

  • Hero Member
  • *****
  • Posts: 871
Re: Simple example of resizing a component on a panel
« Reply #1 on: June 10, 2017, 01:26:03 am »
https://www.thoughtco.com/how-to-move-and-resize-controls-at-run-time-4092542

untested... you probably need one of these..  (LCLIntf, LCLType, LMessages ... as always...)

JD

  • Hero Member
  • *****
  • Posts: 1907
Re: Simple example of resizing a component on a panel
« Reply #2 on: June 10, 2017, 10:48:43 am »
In addition to what RAW said, another option is the TcyResizer that is part of Cindy components

https://sourceforge.net/projects/tcycomponents/

I extracted the CodeTyphon version and installed it in my Lazarus packages.

JD
Linux Mint - Lazarus 4.0/FPC 3.2.2,
Windows - Lazarus 4.0/FPC 3.2.2

mORMot 2, PostgreSQL & MariaDB.

 

TinyPortal © 2005-2018