Click here to Skip to main content
15,891,763 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: removing controls Pin
Zaegra13-May-09 0:52
Zaegra13-May-09 0:52 
GeneralRe: removing controls Pin
JR21213-May-09 3:44
JR21213-May-09 3:44 
GeneralRe: removing controls Pin
tiagu8-Jun-09 1:24
tiagu8-Jun-09 1:24 
QuestionRE:How can i get this checkbox to work when it is selected Pin
Lee Mwangi11-May-09 22:59
Lee Mwangi11-May-09 22:59 
AnswerRe: RE:How can i get this checkbox to work when it is selected Pin
Tom Deketelaere11-May-09 23:17
professionalTom Deketelaere11-May-09 23:17 
GeneralRe: RE:How can i get this checkbox to work when it is selected Pin
Lee Mwangi11-May-09 23:42
Lee Mwangi11-May-09 23:42 
AnswerRe: RE:How can i get this checkbox to work when it is selected Pin
Henry Minute12-May-09 0:00
Henry Minute12-May-09 0:00 
AnswerRe: RE:How can i get this checkbox to work when it is selected Pin
Henry Minute12-May-09 0:25
Henry Minute12-May-09 0: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 20:26
hrishiS11-May-09 20:26 
AnswerRe: crystal report + vb.net2005 Pin
Tiyani Miyambo11-May-09 20:49
Tiyani Miyambo11-May-09 20:49 
GeneralRe: crystal report + vb.net2005 Pin
hrishiS11-May-09 20:57
hrishiS11-May-09 20:57 
QuestionCrystal Report Error when called from VB 2008 Pin
Ener Leumas11-May-09 20:09
Ener Leumas11-May-09 20:09 
Questionconnection string Pin
hrishiS11-May-09 19:52
hrishiS11-May-09 19:52 
AnswerRe: connection string Pin
specialdreamsin11-May-09 20:11
specialdreamsin11-May-09 20:11 
GeneralRe: connection string Pin
EliottA12-May-09 2:44
EliottA12-May-09 2:44 
QuestionCalling Crystal Report 7 from Visual Basic 2008 Pin
Ener Leumas11-May-09 17:23
Ener Leumas11-May-09 17:23 
AnswerRe: Calling Crystal Report 7 from Visual Basic 2008 Pin
Mycroft Holmes11-May-09 18:06
professionalMycroft Holmes11-May-09 18:06 
GeneralRe: Calling Crystal Report 7 from Visual Basic 2008 Pin
Ener Leumas11-May-09 18:29
Ener Leumas11-May-09 18:29 
AnswerRe: Calling Crystal Report 7 from Visual Basic 2008 Pin
DJ Matthews12-May-09 5:14
DJ Matthews12-May-09 5:14 
GeneralRe: Calling Crystal Report 7 from Visual Basic 2008 Pin
Ener Leumas12-May-09 21:03
Ener Leumas12-May-09 21:03 
Question[Message Deleted] Pin
Silva_A11-May-09 12:20
Silva_A11-May-09 12:20 
AnswerRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Dave Kreskowiak11-May-09 15:32
mveDave Kreskowiak11-May-09 15:32 
General[Message Deleted] Pin
Silva_A12-May-09 3:50
Silva_A12-May-09 3:50 
GeneralRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Dave Kreskowiak12-May-09 4:23
mveDave Kreskowiak12-May-09 4:23 
GeneralRe: PRINT FROM DATA READER ON MULTIPLE PAGES Pin
Silva_A12-May-09 12:47
Silva_A12-May-09 12: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.