Link to home
Start Free TrialLog in
Avatar of mdlittle
mdlittle

asked on

How do you hide the scroll bars with DBGrid control

Delphi version 4.0. How do you hide scroll bars in dbgrid control.
ASKER CERTIFIED SOLUTION
Avatar of inthe
inthe

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mdlittle
mdlittle

ASKER

Could you be more specific? Where should I put this code?
on form activate event seems best:

procedure TForm1.FormActivate(Sender: TObject);
begin
ShowScrollbar( dbgrid1.handle, SB_BOTH, False );
end;