Solved

An editable Flexgrids

Posted on 2001-09-02
4
191 Views
Last Modified: 2008-02-01
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
Comment
Question by:Prabhanjan
4 Comments
 
LVL 69

Expert Comment

by:Éric Moreau
ID: 6448868
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
 
LVL 7

Expert Comment

by:Vbmaster
ID: 6448870
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
 
LVL 1

Expert Comment

by:sanjeevjain1973
ID: 6449491
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
 
LVL 1

Accepted Solution

by:
raybeam earned 80 total points
ID: 6450269
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now