Editable FlexGrid/Grid Control in VB4/5/6
This code shows how to use a TextBox control with a Grid.OCX (VB4) or a MSFlexGrid.OCX (VB5/6) control to make an editable grid control. It also demonstrates how to copy the selected Cells to the ClipBoard.
The code works by having a hidden textbox (text1) on the same form as the Grid Control and positioning it over the relevant cell when editing is to occur. The code should work with the standard GRID.OCX control that came with VB4 as well as the MSFlexGrid control supplied with VB5/6. The code has comments to show where FlexGrid only code could be applied.