Anda di halaman 1dari 1

Code

Dim Product As Integer

Private Sub cmdExit_Click()


End
End Sub

Private Sub cmdProduct_Click()


Product = txtInput1.Text * txtInput2.Text * txtInput3.Text
txtInput1.Text = ""
txtInput2.Text = ""
txtInput3.Text = ""
txtProduct = Product
End Sub
Object Icon Property Property Settings

Form Name
Caption
Icon
Picture
Name
Multiply button Caption multiply
Font MS Sans Serif/ Bold/12
Name
Exit button Caption
Font MS Sans Serif/ Bold/12
Name lblproduct
Label BackColor System/Inactive Title Bar Text
Caption Enter First Number:
Font MS Sans Serif/ Bold/12
Name lblproduct2
Label BackColor System/Inactive Title Bar Text
Caption Enter 2nd Number:
Font MS Sans Serif/ Bold/12
Name lblProduct
Label BackColor System/Inactive Title Bar Text
Caption Enter 3rd Number:
Font MS Sans Serif/ Bold/12
Name lblProduct
Label BackColor System/Highlight
Caption The Product is:
Font MS Sans Serif/ Bold/12
Name txtInput1
Text Box Text (empty)
Font MS Sans Serif/ Bold/12
TabIndex 0
Name txtInput2
Text Box Text (empty)
Font MS Sans Serif/ Bold/12
TabIndex 1
Name txtInput3
Text Box Text (empty)
Font MS Sans Serif/ Bold/12
TabIndex
Name txtProduct
MaxLength 22
Text Box Enable False
Text 0
Font MS Sans Serif/ Bold/12

Anda mungkin juga menyukai