Solved

An editable Flexgrids

Posted on 2001-09-02
4
198 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
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…

752 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