Spread 8.0 Documentation
|
|
ActiveX
|
Support Options
|
ActiveX
To create a combo box cell using the fpCombo control
- If your control contains more than one sheet, specify the sheet with which you want to work by setting the Sheet property.
- Set the Col, Row, Col2, and Row2 properties to specify the cell or block of cells.
- If you are selecting a block of cells, set the BlockMode property to True.
- Set the CellType property to 8 (Combo Box).
- If you selected a block of cells, set the BlockMode property back to False.
- At run time, set the TypeComboBoxhWnd property to the window handle of the fpCombo control.
- For the fpCombo control, either hide the control or set the Visible property to False.