Making of cell list style like this
1. We need to set the cell’s style to kFBCellStyleMenu
mPropTable.GetCell(1, 0).Style = kFBCellStyleMenu;
2. We write cell’s value in this manner “item1~item2~item3~…~itemN”
mPropTable.SetCell(1, 0, “None~Tool” );

3. Getting current item index
int itemIndex;
mPropTable.GetCell(1,0, itemIndex);

So here is the rule: when we work with string value of the cell, we set/get items. When we work with integer value of the cell, we set/get item index.

Listbox in FBSpread’s cell
Tagged on:     

Leave a Reply

Your email address will not be published. Required fields are marked *