Click here to Skip to main content
14,742,253 members
Home » Discussions » Visual Basic
   

Visual Basic

 
GeneralRe: removing controls Pin
Zaegra13-May-09 1:52
MemberZaegra13-May-09 1:52 
GeneralRe: removing controls Pin
JR21213-May-09 4:44
MemberJR21213-May-09 4:44 
GeneralRe: removing controls Pin
tiagu8-Jun-09 2:24
Membertiagu8-Jun-09 2:24 
QuestionRE:How can i get this checkbox to work when it is selected Pin
Lee Mwangi11-May-09 23:59
MemberLee Mwangi11-May-09 23:59 
AnswerRe: RE:How can i get this checkbox to work when it is selected Pin
Tom Deketelaere12-May-09 0:17
professionalTom Deketelaere12-May-09 0:17 
GeneralRe: RE:How can i get this checkbox to work when it is selected Pin
Lee Mwangi12-May-09 0:42
MemberLee Mwangi12-May-09 0:42 
AnswerRe: RE:How can i get this checkbox to work when it is selected Pin
Henry Minute12-May-09 1:00
MemberHenry Minute12-May-09 1:00 
AnswerRe: RE:How can i get this checkbox to work when it is selected Pin
Henry Minute12-May-09 1:25
MemberHenry Minute12-May-09 1:25 
Scratch my previous answer, I have just discovered a nifty trick!

Handle the OnEditControlShowing event of the DataGridView. Something like this:

Dim HookedChBox as CheckBox
Private Sub OnEditControlShowing(ByVal sender As Object, ByVal e As DataGridViewEditingControlShowingEventArgs) Handles m_Grid.EditingControlShowing
    If m_Grid.CurrentCell.ColumnIndex = 2 Then 'use the index for your checkboxcolumn
        HookedChBox = TryCast(e.Control, CheckBox)
        If HookedChBox Is Nothing Then
            Return
        End If
        AddHandler HookedChBox.CheckedChanged, AddressOf OnManualCheckChanged
    End If
End Sub


OnManualCheckChanged is a standard CheckBox.CheckedChanged handler.

Henry Minute

Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”

Questioncrystal report + vb.net2005 Pin
hrishiS11-May-09 21:26
MemberhrishiS11-May-09 21:26 
AnswerRe: crystal report + vb.net2005 Pin
Tiyani Miyambo11-May-09 21:49
MemberTiyani Miyambo11-May-09 21:49 
GeneralRe: crystal report + vb.net2005 Pin
hrishiS11-May-09 21:57
MemberhrishiS11-May-09 21:57 
QuestionCrystal Report Error when called from VB 2008 Pin
Ener Leumas11-May-09 21:09
MemberEner Leumas11-May-09 21:09 
Questionconnection string Pin
hrishiS11-May-09 20:52
MemberhrishiS11-May-09 20:52 
AnswerRe: connection string Pin
specialdreamsin11-May-09 21:11
Memberspecialdreamsin11-May-09 21:11 
GeneralRe: connection string Pin
EliottA12-May-09 3:44
MemberEliottA12-May-09 3:44 
QuestionCalling Crystal Report 7 from Visual Basic 2008 Pin
Ener Leumas11-May-09 18:23
MemberEner Leumas11-May-09 18:23 
AnswerRe: Calling Crystal Report 7 from Visual Basic 2008 Pin
Mycroft Holmes11-May-09 19:06
professionalMycroft Holmes11-May-09 19:06 
GeneralRe: Calling Crystal Report 7 from Visual Basic 2008 Pin
Ener Leumas11-May-09 19:29
MemberEner Leumas11-May-09 19:29 
AnswerRe: Calling Crystal Report 7 from Visual Basic 2008 Pin
DJ Matthews12-May-09 6:14
MemberDJ Matthews12-May-09 6:14 
GeneralRe: Calling Crystal Report 7 from Visual Basic 2008 Pin
Ener Leumas12-May-09 22:03
MemberEner Leumas12-May-09 22:03 
Question[Message Deleted] Pin
Silva_A11-May-09 13:20
MemberSilva_A11-May-09 13:20 
AnswerRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Dave Kreskowiak11-May-09 16:32
mveDave Kreskowiak11-May-09 16:32 
General[Message Deleted] Pin
Silva_A12-May-09 4:50
MemberSilva_A12-May-09 4:50 
GeneralRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Dave Kreskowiak12-May-09 5:23
mveDave Kreskowiak12-May-09 5:23 
GeneralRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Silva_A12-May-09 13:47
MemberSilva_A12-May-09 13:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.