mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 20:21:04 +02:00
LCL: grids: initialize scrollbar visibility info with correct values
git-svn-id: branches/fixes_1_8@55195 -
This commit is contained in:
parent
2b2ca33631
commit
1520ef45ed
@ -4698,8 +4698,8 @@ procedure TCustomGrid.CreateWnd;
|
|||||||
begin
|
begin
|
||||||
//DebugLn('TCustomGrid.CreateWnd ',DbgSName(Self));
|
//DebugLn('TCustomGrid.CreateWnd ',DbgSName(Self));
|
||||||
inherited CreateWnd;
|
inherited CreateWnd;
|
||||||
FVSbVisible := -1;
|
FVSbVisible := Ord(GetScrollbarvisible(Handle, SB_Vert));
|
||||||
FHSbVisible := -1;
|
FHSbVisible := Ord(GetScrollbarvisible(Handle, SB_Horz));
|
||||||
CheckPosition;
|
CheckPosition;
|
||||||
VisualChange;
|
VisualChange;
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user