Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Edit Data Using MSHFlexGrid

Posted on 2004-09-26
6
Medium Priority
?
382 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
[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
  • 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 500 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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 …
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…
Suggested Courses

722 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