>-----Original Message-----
>> I just created my first user controls and I am quite
>> e{*filter*}d to see them working. However, I would like to
have
>> descriptions of the properties appear when the
devellopper
>> clicks on a property in the properties window ( at the
>> bottom of the property window just like any other
standar
>> property) and when they are selecting the property from
>> the drop box ( when you type datagrid1. you get a set
of
>> values and you can choose from the list and as you go
down
>> the list you get a little message explaining what the
>> property does)
>> I am not sure this will make sense to anyone, but if it
>> does the help would be deeply appreciated.
>> BTW, how can I cancel a keypress , I assume it is in the
>> keypress event but I see no way to cancel it there.
>John,
>What you need to do is put an Import statement at the top
of your code file
>for the System.ComponentModel. Then you will need to use
Attributes
>(Category, DefaultValue and Description) above your
property.
>Here is an example for you:
>************************************
>Imports System.ComponentModel
>.....
>Private m_MyProperty As String
><Browsable(True), _
>Category("Your Category Here"), _
>DefaultValue(""), _
>Description("Indicates a file to use for " + _
>"design time puposes if an InputTask is not specified"), _
>Public Overridable Property MyProperty() As String
> Get
> Return m_MyProperty
> End Get
> Set(ByVal Value As String)
> m_MyProperty = Value
> End Set
>End Property
>************************************
>Also, there is a more info in the helps file regarding