VB6 and MSHFlexgrids

Permabanned
Joined
24 Dec 2002
Posts
474
Location
Chelmsford, Essex. Bling Bling
Is it possible to programmatically add bands to a MSHFlexgrid?

Ive got a recordset that has 12 records in it. 6 are tagged as belonging to group1 the other 6 have a groupID of 2.

Id like to be able to bind that to a grid but to tell the grid to make 2 bands based on those GroupID's so you can expand and collapse it.

So either manually build the grid row by row adding in the bands or somehow tell the grid that its band information can be found in those fields.

Any way of doing this?
 
Back
Top Bottom