Save/Load ComboIndex?

Hi Bruno,

I have grids with several comboboxes. I want to save the grid to a stream with the indexes of the items selected at the time of saving. SaveToBinStream seems to not store the ComboIndexes. Is there a way to do that, other than explicitly saving one by one?

You'd have to setup the combobox editing in such way that the cell value contains the combobox index and that you use an event OnGetDisplayText() to get the actual combobox value from this index to have it displayed this way. If the cell itself contains the combobox index value, it will be persisted when using SaveToBinStream.

Ok, thanks