Also note that if you are working with widths in the grids/cells, that
the GridLineWidth is 50% implemented.  It draws the grid lines based
on that value, but then eats into the cell space, which doesn't take
into account the GridLineWidth (always assuming 1).

Graeme.



On 15/06/07, Micha Nelissen <[EMAIL PROTECTED]> wrote:
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


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

Reply via email to