MsHflexgrid is 'almost' only for viewing :) With VFP it sounds too hard to create something like that (but fox community always surprises me with workarounds - grid in grid as you said is one way:).
MSHflexgrid is not data bound. More clearly it uses datasource till it fills its textmatrix array (when data source is hierarchical). Sometimes I need an enhanced treeview and use MSHflexgrid. I needed to use some extra coding to track where I'm when clicked on a child row other than first. I keep VFP native controls to edit it. But right most of the time I use it for viewing and selecting too.
Cetin
>Thanks. Either way described below or your posting to FAQ regarding dynamic pictures ( quite tricky way I must say ) serves weel for my needs.
>Incidentally, I've seen your posting regarding usage MSHFLEXDRID with VFP.
>But it is only for viewing. From your experience could it be feasible to create something similar and visually appealing and updateable using VFP built-in grid.
>Assuming we have classical master/detail we seem to be able to embed detail grid into master cell but can't see the way to make it varying from row to row.
>
>
>>
>>Michael,
>>As I get it you only want it for checkboxes not image displaying (if image displaying check FAQ section).
>>For checkbox :
>>-Add checkbox to grid.columnx
>>-Set checkbox.downpicture to 'ticker bitmap'
>>-Set checkbox.picture to 'crossed out bitmap'
>>-Set checkbox.caption to none
>>-Set checkbox.style to graphical
>>-Set column.dynamiccurrentcontrol property to checkbox (typically 'check1')
>>-Set column.sparse to .f.
>>Done:)
>>Cetin