Solved

An editable Flexgrids

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…
Suggested Courses
Course of the Month6 days, 13 hours left to enroll

623 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