Solved

Edit Data Using MSHFlexGrid

Posted on 2004-09-26
6
358 Views
Last Modified: 2013-12-25
Hai...

I able to display data at MSHFlexGrid. Now, i want to edit data at MSHFlexGrid. What i want is, i can click at any cell at MSHFlexGrid, and i can change the data at the MSHFlexGrid. But, i don't have any idea to do it. Can any body help me. Plz....
0
Comment
Question by:senico
  • 3
6 Comments
 
LVL 26

Expert Comment

by:Rejojohny
ID: 12157900
by default MSHFlexgrid is not editable .. wht u could do is add a textbox to the form. make its "visible" property to false. when a user selects a particular cell, move the textbox to the exact same position as the current selected cell. make it visible. So the user enters the data within the textbox .. when the user clicks on another cell, again move the textbox to the new cell position, but remeber to assign the textbox value to the old cell .. this is a bit tedious process. u could think of looking at some 3rd party grids which provides editing features .. like sharpgrid, VSflexgrid, sherdian grid, spread control etc ...
0
 
LVL 26

Accepted Solution

by:
Rejojohny earned 125 total points
ID: 12157909
have a look at this link provided by microsoft .. exactly like the way i tried to explain above .. this link contains the code to implement it ...
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:80/support/KB/ARTICLES/Q85/1/09.asp&NoWebContent=1
0
 
LVL 26

Expert Comment

by:Rejojohny
ID: 12816467
Please do have a look at my comments and the link provided ..
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VB error "Type mismatch" 2 54
Windows 10 start screen issues 9 55
Visual Basic Excel Formatting error 4 106
How to debug this code 7 61
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
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…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

778 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