Hi all 
on my windows form, amongst other things, i have a checkbox for 'reply required', so if a reply is required then the user chooses a date from the datetimepicker. if the checkbox is unchecked, the the datetimepicker becomes invisible. i got this working by using the following code:
If chkRep.Checked = False Then
Me.dtpRep.Visible = False
only thing is, its invisible all the time now! wot do i add to the code to make it work properly?
Thanx!
on my windows form, amongst other things, i have a checkbox for 'reply required', so if a reply is required then the user chooses a date from the datetimepicker. if the checkbox is unchecked, the the datetimepicker becomes invisible. i got this working by using the following code:
If chkRep.Checked = False Then
Me.dtpRep.Visible = False
only thing is, its invisible all the time now! wot do i add to the code to make it work properly?
Thanx!