Autor Beitrag
bruder jonas
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 76



BeitragVerfasst: Sa 24.05.03 14:25 
hallo,

ich habe nur wenige einträge in einem db-grid. trotzdem wird eine vertikale scroll-leiste angezeigt.

wie kriege ich die weg?

danke
Rool
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 211



BeitragVerfasst: So 25.05.03 13:27 
probiers mal so:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
FWndProc: Pointer;

implementation

procedure TForm1.ListViewWndProc(var Msg: TMessage); 
begin 
  ShowScrollBar(StringGrid1.Handle, SB_VERT, false); 
  FWndProc(Msg);
end

procedure TForm1.FormCreate(Sender: TObject); 
begin 
  FWndProc := StringGrid1.WindowProc;
  StringGrid1.WindowProc := WndProc;
end;

_________________
MFG Rool