Set your UserControl's InvisibleAtRuntime property to True. That will get
rid of all the GUI events and what not.
? Chuck
> -----Original Message-----
> From: Norman Tse [mailto:norman@c...]
> Sent: Tuesday, May 15, 2001 3:36 PM
> To: professional vb
> Subject: [pro_vb] Create an ActiveX Control
>
>
> Hi ,
>
> Can someone tell me how to built an ActiveX Control with only the
> properties that I want?
> When I create a UserControl project, it provides a lot of properties
> like CauseValidation, DragIcon, DragMode, Height etc...... which I don't
> need. I am enchaning theTimer Control, so I just want the properties
> same as Timer control like Enabled,Index,Interval,Left,Tag, Top plus my
> own properties. It should be invisible and no visible property for the
> user to change.
>
> Norman
>