Solved

Edit Data Using MSHFlexGrid

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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

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…
Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

705 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now