?
Solved

edit datagridview; pencil

Posted on 2006-04-20
2
Medium Priority
?
735 Views
Last Modified: 2012-06-27
in the datagridview I start a new record and set dgv.beginedit(true).  How can I make the current row have the pencil mark programatically?
0
Comment
Question by:yanci1179
2 Comments
 

Author Comment

by:yanci1179
ID: 16499928
well I made the value of that cell equal to "" and it worked.  Let me know if anybody knows of an actuall property that does this.
0
 
LVL 11

Accepted Solution

by:
vo1d earned 2000 total points
ID: 16500782
the pencil mark only apears, if you are in edit mode.
you can change the edit behaviour by setting the EditMode property of teh datagridview.
if you want to have such an icon on every row also you are not in edit mode, you will have to draw it by yourself.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …

840 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