' Initialization routine for the form.
' Set all variables to initial values.
Private Sub Form_Load()
DecimalFlag = False
NumOps = 0
LastInput = "NONE"
OpFlag = " "
Label1 = Format(0, "0.")
'Decimal.Caption = Format(0, ".")
Dim b As Long
Dim a
'round rectangel
b = CreateRoundRectRgn(10, 18, 216, 383, 45, 45)
a = SetWindowRgn(hWnd, b, True)
Dim i As Integer
For i = Label2.LBound To Label2.UBound
Label2(i).Caption = ""
Next i
End Sub
|