Spread 8.0 Documentation
Example
Support Options

Glossary Item Box

Example


The following example sets up a cell to use the List Pro fpCombo control for the combo box cell. To use the example, create a fpSpread control and fpCombo control on your form. Provide the data for the list in the fpCombo control. Then provide the following code in your Form Load event.

Visual Basic

fpSpread1.Col = 2
fpSpread1.Row = 3
fpSpread1.CellType = CellTypeComboBox
fpSpread1.TypeComboBoxhWnd = fpCombo1.hWnd

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.