Solved

An editable Flexgrids

Posted on 2001-09-02
4
194 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 70

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

828 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