Joao Morais wrote:
> The ClientWidth method does not count the vertical scroll bar width. Is
> this by default? This is inconsistent with Delphi, so if this is by
> default I know I need to implement a workaround =)

The ClientWidth is the space available for client controls, no ? The
vertical scrollbar occupies some of that space, so it makes sense the
ClientWidth is excluding the scrollbar.

I'm not sure whether this is on purpose, but for example on gtk, the
scrollbar is outside the control usually, but on win32, it's drawn
inside the control.

Micha

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to