>>>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.
Still not sure I understand, but Couldn't you create both a checkbox and a label and toggle their visible property depedning on the flag?
Erik Moore
Clientelligence