How To Use a ComboBox to Enter Data into a FlexGrid Control (201197)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 5.0
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q201197 SUMMARY
You can use a ComboBox that appears over the active cell to make it easier to enter data into a MSFlexGrid or MSHFlexGrid control. This article demonstrates how to do this, as well as how to resize the ComboBox when a column is resized. Please note that you can only adjust the width of the ComboBox.
The subclassing (or hook) of the FlexGrid control is optional. Its purpose in this article is to resize the ComboBox dynamically when a column in the FlexGrid is resized.
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
168795 How To Hook Into a Window's Messages Using AddressOf
241355 How To Edit and Tab with the MSFlexGrid Control
Modification Type: | Minor | Last Reviewed: | 7/13/2004 |
---|
Keywords: | kbAPI kbComboBox kbCtrl kbhowto KB201197 |
---|
|