Calculation with RadioButtons

PSU_Justin

Newcomer
Joined
Feb 24, 2003
Messages
19
Location
State College, PA
I am trying to do a simple calculation (below). This calculation is supposed to be initiated by a radiobutton click. The calculation works properly when initiated with a button, but nothing happens when I use a radio button. Is it possible to do a calculation initiated by a radio button?? :confused:


Visual Basic:
dim nconv as single

        If nTxtBx.Text.Length = 0 Then
            nTxtBx.Text = ""
        Else
            nconv = CSng(nTxtBx.Text)
            nconv = nconv + 10
            nTxtBx.Text = nconv
        End If
 
Back
Top