Link to home
Start Free TrialLog in
Avatar of dmalonel
dmalonel

asked on

flag viewer in vb6 not vb.net

I programming a flag viewer with a chk box. I'm not using vb.net but vb6.
So I don't have a .checked option.
How can I program a chk box so the caption appears and diappears. when chked or unchked.
This is what I have so far:
Private Sub chkProgramer_Click()
    'Displays programmers name.

     lblName.Caption = "David Malone"
   
    End Sub
The name appears when chk box is unchked only.
But the name stays no matter how mant times I chk or unchk the box.
ASKER CERTIFIED SOLUTION
Avatar of Davidshc76
Davidshc76

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial