>>In my OCX, I want to define a property which will not appear at design time, in the property sheet, but will be available at run time.
>>
>>This is an Error property which will hold a value. This has no use at design time. So, this is why I don't want it to appear in the property sheet.
>>
>>At this point, I have about 20 properties which appear in the property sheet at design time.
>>
>>What difference should I do to not have the Error property appear in the property sheet?
>
>You can make the property Hidden by:
>
>1) Selecting the Tools meny, then the Procedure Attibutes option
>2) Select the property in the drop-down list.
>3) Click on the Advanced button
>
>Click the "Hide this member" checkbox or "Don't show in property browser"
>
>NOTE: I think if you choose Hide this member, you will have to reference the property like myobj.[Myprop] or something like that.
>
>Another way is to make the property Read only, that way it won't show up. So, you'd have a private property let and a public property get routine in your class module. That way your class can set the property but the environment using it can only read it.
I remove the Property Let so it does not appear in the form property sheet anymore.
Thanks for given me additional ways of doing that.