What’s Happening in Program Code
Option Explicit
Dim signName As String
Private Sub optAqu_Click()
signName = "Aquarius "
End Sub
Private Sub optAri_Click()
signName = "Aries "
End Sub
Private Sub optCan_Click()
signName = "Cancer "
End Sub
...
Private Sub cmdOK_Click()
lblSign.Caption = signName
…
End Sub
For the Cancer radio button, the assignment here saves the value that is used here
Previous slide
Back to first slide
View graphic version