Hello everyone.
I am kinda getting confused here. I need to have a checkbox and when the checkbox is checked i need to show two labels and controls so that the user can enter the salary and title of the employee.Then when the checkbox is unchecked, hide the two sets of controls. Now would that be better to use in a group or not. I know how to hide and show forms but I am getting confused with this. Can someone please explain to me so I can understand it Thanks.

Label and TextBox controls both have a Visible property that can be set to true or false.

personally, I'd rather use the Enabled property and leave them visible.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.