old Hippy
Gebruiker
- Lid geworden
- 24 mei 2008
- Berichten
- 911
Hallo allemaal
Wat ik wil is dat Het label LB_Hoog omhoog gaat.
En het label LB_Laag naar beneden gaat Als het label LB_Stand omhoog of omlaag gaat.
zo dat ik aan het eind van de dag de hoogste en de laagste stand heb.
wat is er niet goed in de code??
Wat ik wil is dat Het label LB_Hoog omhoog gaat.
En het label LB_Laag naar beneden gaat Als het label LB_Stand omhoog of omlaag gaat.
zo dat ik aan het eind van de dag de hoogste en de laagste stand heb.
wat is er niet goed in de code??
Code:
Dim Stand As Decimal = 0
Dim Hoog As Decimal = 0
Dim Laag As Decimal = 0
Stand = CDec(LB_Stand.Text)
If Stand > Hoog Then
LB_Hoog.Text = Stand
ElseIf Stand < Laag Then
LB_Laag.Text = Stand
End If
Laatst bewerkt: