old Hippy
Gebruiker
- Lid geworden
- 24 mei 2008
- Berichten
- 911
Hallo allemaal
Ik wil graag mijn waarschuwing uitbreiden.
maar weet niet hoe.
ik heb dit.
Wat ik graag wil is dat het elk artikel weergeeft wat rood is aan gemerkt met naam in het waarschuwing label zie afbeelding
Met vriendelijke groeten Old Hippy
Ik wil graag mijn waarschuwing uitbreiden.
maar weet niet hoe.
ik heb dit.
Code:
Function Alert_Update() As Boolean
Try
For Each NRow In Me.ProductonderdelenDataGridView.Rows
If NRow.Cells(5).Value IsNot DBNull.Value Then
If CType(NRow.Cells(5).Value(), Integer) > CType(NRow.Cells(0).Value(), Integer) - 1 Then
NRow.DefaultCellStyle.ForeColor = Color.Black
Else
NRow.DefaultCellStyle.ForeColor = Color.Red
Label4.Visible = True
Label27.Text = "voor het ontwerp; (" & OntwerpnaamComboBox.Text & ")" & vbNewLine & "Is er onvoldoende voorraad van Artikel: " & CType(NRow.Cells(2).Value(), String)
End If
Else
End If
Next
Catch ex As InvalidCastException
End Try
End Function
Wat ik graag wil is dat het elk artikel weergeeft wat rood is aan gemerkt met naam in het waarschuwing label zie afbeelding
Met vriendelijke groeten Old Hippy
Bijlagen
Laatst bewerkt: