Solved

Trying not to change a DataGridViewCheckBoxCell?

Posted on 2014-03-20
2
154 Views
Last Modified: 2014-03-28
I'm using a checkbox as a row selector for a DataGridView. When a checkbox is selected, that specific row is selected, however, I want to be able to display a message indicating that the row is selected if a user tries to click the checkbox off and keep the checkbox checked. Not sure how to accomplish this.
0
Comment
Question by:BlakeMcKenna
[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
2 Comments
 
LVL 7

Accepted Solution

by:
COACHMAN99 earned 500 total points
ID: 39944174
If the checkbox is stored (as opposed to unbound) then why not programmatically disable the checkbox once it is set/true, in the same place where your message appears?
on click event
if chk then
  msgbox ...
  chk = true
end if
0
 

Author Comment

by:BlakeMcKenna
ID: 39945111
I've wondered about using that logic and I might end up doing just that...
0

Featured Post

Independent Software Vendors: 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

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Microsoft Reports are based on a report definition, which is an XML file that describes data and layout for the report, with a different extension. You can create a client-side report definition language (*.rdlc) file with Visual Studio, and build g…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Add bar graphs to Access queries using Unicode block characters. Graphs appear on every record in the color you want. Give life to numbers. Hopes this gives you ideas on visualizing your data in new ways ~ Create a calculated field in a query: …
Suggested Courses

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