Click here to Skip to main content
15,927,127 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Updating a Database from a Datagrid using an SQL Insert Statement Pin
Christian Graus22-Dec-06 10:20
protectorChristian Graus22-Dec-06 10:20 
QuestionTabcontrol and textbox.textchanged Pin
Chuck Easter22-Dec-06 4:40
Chuck Easter22-Dec-06 4:40 
AnswerRe: Tabcontrol and textbox.textchanged Pin
Dave Kreskowiak22-Dec-06 7:23
mveDave Kreskowiak22-Dec-06 7:23 
GeneralRe: Tabcontrol and textbox.textchanged Pin
Chuck Easter22-Dec-06 8:05
Chuck Easter22-Dec-06 8:05 
GeneralRe: Tabcontrol and textbox.textchanged Pin
Dave Kreskowiak22-Dec-06 8:59
mveDave Kreskowiak22-Dec-06 8:59 
GeneralRe: Tabcontrol and textbox.textchanged Pin
Chuck Easter22-Dec-06 10:02
Chuck Easter22-Dec-06 10:02 
GeneralRe: Tabcontrol and textbox.textchanged Pin
Dave Kreskowiak22-Dec-06 10:13
mveDave Kreskowiak22-Dec-06 10:13 
GeneralRe: Tabcontrol and textbox.textchanged Pin
Chuck Easter22-Dec-06 10:59
Chuck Easter22-Dec-06 10:59 
No code selected events or tabindexchanged for sure.

I have 5 group box, 8 radion buttons, 1 infragestics date picker, 6 text boxes, and a combobox on the last tab.

This is the sub that is getting fired. Not all the controls are on the last tab of course. I am using this to see if any textbox or radio button changes were made on the form to check if I need to save changes to the SQL database. All the controls are databound except the radio buttons.

Private Sub txtAccidentDesc_Click(ByVal sender As Object, ByVal e As System.EventArgs) _
Handles txtAccidentDesc.TextChanged, txtAuthAdd2.TextChanged, txtAuthAddress.TextChanged, _
txtAuthCity.TextChanged, txtBusinessAdd1.TextChanged, txtBusinessAdd2.TextChanged, _
txtAuthorityName.TextChanged, txtAuthPhone.TextChanged, txtAuthZip.TextChanged, _
txtBusinessCity.TextChanged, txtBusinessZip.TextChanged, txtBusPhone.TextChanged, _
txtCmnt.TextChanged, txtDivDesc.TextChanged, txtLocation.TextChanged, uccAccidentDate.ValueChanged, _
cboReportedBy.SelectedIndexChanged, rbAccident.Click, rbAccountableNo.Click, rbAccountableYes.Click, _
rbAuthContactedNo.Click, rbAuthContactedYes.Click, rbClosedNo.Click, rbClosedYes.Click, rbFatalityNo.Click, _
rbFatalityYes.Click, rbIncident.Click, rbPreventableNo.Click, rbPreventableYes.Click, rbUnsafe.Click, _
uccAuthorityContacted.ValueChanged, umeAccidentTime.ValueChanged
bolEdited = True
End Sub

The solution is in sourceSafe so I can check it out and delete the last tab and then throw away the checked out version to get back.
GeneralRe: Tabcontrol and textbox.textchanged Pin
Dave Kreskowiak22-Dec-06 12:23
mveDave Kreskowiak22-Dec-06 12:23 
GeneralRe: Tabcontrol and textbox.textchanged Pin
Chuck Easter26-Dec-06 3:14
Chuck Easter26-Dec-06 3:14 
QuestionDear all Pin
indian14322-Dec-06 2:39
indian14322-Dec-06 2:39 
AnswerRe: Dear all Pin
Dave Kreskowiak22-Dec-06 2:56
mveDave Kreskowiak22-Dec-06 2:56 
AnswerRe: Dear all Pin
Kschuler22-Dec-06 4:52
Kschuler22-Dec-06 4:52 
QuestionDear all Pin
indian14322-Dec-06 2:24
indian14322-Dec-06 2:24 
AnswerRe: Dear all Pin
Dave Kreskowiak22-Dec-06 2:55
mveDave Kreskowiak22-Dec-06 2:55 
AnswerRe: Dear all Pin
Christian Graus22-Dec-06 8:24
protectorChristian Graus22-Dec-06 8:24 
AnswerRe: Storing a name Pin
namrtihdsdsedwde22-Dec-06 2:22
namrtihdsdsedwde22-Dec-06 2:22 
GeneralRe: Storing a name Pin
harveyhanson22-Dec-06 2:23
harveyhanson22-Dec-06 2:23 
GeneralRe: Storing a name Pin
Kschuler22-Dec-06 4:36
Kschuler22-Dec-06 4:36 
GeneralRe: Storing a name Pin
harveyhanson2-Jan-07 4:33
harveyhanson2-Jan-07 4:33 
QuestionTo hardware details about client machine using Vb6.0 Pin
jamesrajesh21-Dec-06 20:40
jamesrajesh21-Dec-06 20:40 
AnswerRe: To hardware details about client machine using Vb6.0 Pin
Dave Kreskowiak22-Dec-06 3:03
mveDave Kreskowiak22-Dec-06 3:03 
QuestionDear all Pin
indian14321-Dec-06 20:22
indian14321-Dec-06 20:22 
QuestionCode Snippets Pin
The ANZAC21-Dec-06 15:50
The ANZAC21-Dec-06 15:50 
AnswerRe: Code Snippets Pin
Are Jay21-Dec-06 20:33
Are Jay21-Dec-06 20:33 

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.