>>>Has anyone written a class where a flag determines whether the object is a checkbox or a label?
>>>
>>>Thanks.
>>>
>>>j
>>
>>Why would you need this?
>
>I have a form that displays address information. They also print, add and delete records from this form. I don't want to display the checkboxes unless they are printing the label.
Why not just make set the checkboxes Visible property to False? If you want a label to show when the checkboxes aren't visible, put it on the form and toggle it the reverse of the checkboxes.