Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ane Punya Soal Gan Minta Tolong Selesain :(
#5
Code:
Private Sub cmdReset_Click() txtPenjualan.Text = "" txtDiskon.Text = "" txtTotal.Text = "" txtPoin.Text = "" End Sub Private Sub cmdProses_Click() If txtPenjualan.Text >= 100000 Then txtDiskon.Text = txtPenjualan.Text * 0.05 txtDiskon.Text = "5%" End If txtTotal.Text = txtPenjualan.Text - (txtPenjualan.Text * 0.05) End Sub Private Sub txtTotal_Change() Select Case Val(txtTotal.Text) Case Is < 50000 txtPoin.Text = "0" Case Is < 100000 txtPoin.Text = "10" Case Is < 250000 txtPoin.Text = "20" Case Is < 500000 txtPoin.Text = "30" Case Is > 500000 txtPoin.Text = "50" End Select End Sub

CMIIW om
[Image: 55295792.png]
Kepintaran tidak menentukan kesuksesan tapi pilihan baiklah yang menentukannya !
Success cannot be reached alone !


Messages In This Thread
RE: Ane Punya Soal Gan Minta Tolong Selesain :( - by Lenkester - 12-08-2013, 09:39 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [MUST READ] Tolong Kasih Cara Mengubah File Visual Basic 6 menjadi format"exe" A.ivantank 12 136 01-05-2012, 12:13 PM
Last Post: manzcenk

Forum Jump:


Users browsing this thread: 1 Guest(s)