[Lazarus] Control client area position

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

On Wed, Nov 3, 2010 at 9:09 PM, Zaher Dirkey <parmaja at gmail.com> wrote:

> 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;
procedure AdjustClientRect(var ARect: TRect); virtual;

Best Regards

*I can not edit my posts in Message list*
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20101103/ade6dc1f/attachment-0003.html>

More information about the Lazarus mailing list