Solved

Edit Data Using MSHFlexGrid

Posted on 2004-09-26
6
376 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 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

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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
Course of the Month9 days, 5 hours left to enroll

617 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