[Lazarus] TSplitter

Hans-Peter Diettrich DrDiettrich1 at aol.com
Sat Aug 21 20:31:56 CEST 2010


Bernd Kreuss schrieb:

>>> wow... that doesn't seem "intuitive" at all :?
>> That's exactly how splitters are used in Delphi.
> 
> This doesn't make it a single bit more intuitive, you just don't notice
> it anymore. This is a common problem in software development.

Right, but it is as splitters (of that kind) work. The regular layout 
management  for a container control allows for any number of fixed size 
components (of equal horizontal or vertical alignment), plus one 
auto-sized component (alClient). A splitter allows to change the extent 
(width or height) of its left (or top) neighbour, and adjusts the extent 
of the alClient component accordingly.

Lazarus allows for more irregular layouts, see AnchorDocking.

DoDi





More information about the Lazarus mailing list