Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 209
  • Last Modified:

An editable Flexgrids

How can i use or design a MSFlexgrid that can be editable ... i mean just like a textbox ....
I should be able to use each cell like a text box or a combobox or whatever...
If someone understands this situation then try and help me out......
0
Prabhanjan
Asked:
Prabhanjan
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
You need to place controls (textbox, combo, ...) over the grid to make it editable. See this article: http://support.microsoft.com/support/kb/articles/Q241/3/55.ASP
0
 
VbmasterCommented:
The easiest solution, which also seems to be used most frequently, is to create one textbox and put it on the same form as the MSFlexgrid control, set the visible property to FALSE. Now whenever a user clicks on a cell you move the textbox to the position of that cell, and then set the textbox's visible property to TRUE. This will make it appear as the grid control is editable.
0
 
sanjeevjain1973Commented:
Instead of using Flex grid , you can use Data Grid to make editable grid control. You can use bound & unbound mode for datagrid, also have property for row. allowdelte, allowupdate, allowinsert new row. It will hel you.

Sanjeev
0
 
raybeamCommented:
Even better you can use VBalGrid, better, more flexible, and looks nicer, and it allows you direct edit and combo box display check it out

http://www.vbaccelerator.com/codelib/sgrid/sgrid.htm
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now