Re: looking for a control
Unfortunately this is not an OCX that you can use in your own VB programs.
You can get pretty close, though by using a Hierarchical Flexgrid Control.
It has the Grid functionality as well as the open/close functionality.
Re: looking for a control
I also thought off that, but it seems that the Hierarchical Flexgrid works only in connection with a Database, at least concerning the open/close functionality.
I also want to insert other controls in the cells (e.g. comboboxes), which would be difficult with a flexgrid.
But thanks any way
Sebastian Thoma
Re: looking for a control
you really don't need a database to use the HFlexGrid.
But, you are right. displaying controls inside cells is probably hard to implement.
There is a third-Party control that could really help you: FarPoint's Spread control: http://www.fpoint.com
Re: looking for a control
Do you have a code sample for using a HiFlexGrid without a Database? As far as I know you can use the HiFlexGrid without database, but when it not hierarchical. It would help just to have the hierarchical mechanism.
Re: looking for a control
there is a sample on MSDN.
heading of the article is "Fabricating Hierarchical Recordsets".
search for "hierarchial cursors and data shaping" on the index tab in MSDN.
That article shows you how to create a hierarchical recordset without any connection to a database.
viel Glück