Link to home
Start Free TrialLog in
Avatar of alchemy9
alchemy9

asked on

Multiple grids in a scrollable window

I am looking to create multiple grids into a scrollable panel/window.

The example I am trying to implement is similar to ms sql server query ananlyzer when there are multiple record sets generated, these display multilpe grids in a scrollable window.

The number of grids will need to be generated on the fly.

Anyone have any ideas how to do this


thanks

Ian
Avatar of vadim_ti
vadim_ti

procedure someform.somemethod;
begin
  with TDBGrid.Create(Self) do begin
     parent := yourPanel;
    // set wanted grid properties
  end;
end;
Hi,

A possible solution is to use one TScrollBox component as a parent of your grids. Create it on the form and set grids parent properties to that box. If you need code, let me know.

Regards, Geo
Or TPageControl with many TTabSheets containing DBGrids .... You will not scroll, but browse between TabSheets ....
ASKER CERTIFIED SOLUTION
Avatar of esoftbg
esoftbg
Flag of Bulgaria image

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