dcsimg

Editable FlexGrid/Grid Control in VB4/5/6

Editable FlexGrid/Grid Control in VB4/5/6

Overview

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.

Screen Shot

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.


Download Zipped Project File (3k)



This article was originally published on October 13th, 2003

Most Popular Programming Stories

More for Developers

RSS Feeds

Close Icon
Thanks for your registration, follow us on our social networks to keep up-to-date
Twitter
LindkedIn
GooglePlus
RSS