[Lazarus] Control client area position

Zaher Dirkey parmaja at gmail.com
Wed Nov 3 20:09:20 CET 2010

On Tue, Nov 2, 2010 at 6:29 PM, Felipe Monteiro de Carvalho <
felipemonteiro.carvalho at gmail.com> wrote:

> Hello,
> Does anyone know how to set in a control that it's client area starts
> in a non-standard position? I'd like to implement a custom-drawn
> TGroupBox and therefore I need to apply a delta to the starting X and
> Y position of child controls so that the (0,0) pos is bellow the
> caption and out of the border.
Not sure but try

procedure AlignControls(AControl: TControl; var Rect: TRect); override;

Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20101103/7eab1f62/attachment-0003.html>

More information about the Lazarus mailing list