----- Original Message ----- 
From: "Marien van Westen" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, March 20, 2006 4:18 AM
Subject: [lazarus] Scrollbars in Stringgrid


I have a stringrid in wich I change the number of rows.
I have set the property Scrollbars to ssVertical, but the scrollbar is
always grayed.
Setting the property to ssAutoVertical gives a behaviour I expect.

Is it a known bug that ssVertical doesn't work properly? btw I am using
Win32  SVN 8964

Marien

>>>

They work different than in delphi (I guess). In lazarus grids, ssVertical only 
shows the scrollbar and the user it's supposed to program the range, that is 
the difference with ssAutoVertical which allows the grid to calc the scrollbar 
range for you.

ssVertical,ssHorizontal,ssBoth are yet to be tested, this I guess could help in 
the A.J. Venter gridview scrolling issue, so intead of deriving a grid, API 
functions like SetScrollInfo, and GetScrollInfo could be used.

Jesus Reyes A.

__________________________________________________
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
Regístrate ya - http://correo.yahoo.com.mx/ 

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

Reply via email to