Good, thought I was loosing there for a minute :)
[quoted text, click to view] "Internet User" <noemail@noemail.com> wrote in message
news:ub5exNfnHHA.1476@TK2MSFTNGP03.phx.gbl...
> That works better, thanks!
>
> "Ray Cassick" <rcassick@enterprocity.com> wrote in message
> news:edDma0NnHHA.5052@TK2MSFTNGP04.phx.gbl...
>> What about this?
>>
>> Public Class MyCheckBoxControl : Inherits System.Windows.FormsCheckBox
>>
>> End Class
>>
>> "Internet User" <noemail@noemail.com> wrote in message
>> news:%23E4HFRInHHA.404@TK2MSFTNGP02.phx.gbl...
>>>I am attempting to create a user control based on the Checkbox control.
>>>It consists of a single checkbox. When I add my control to a win app, I
>>>can't seem to access the nornal checkbox events it should have inherited.
>>>
>>> Here is code for the control:
>>>
>>> Imports System.ComponentModel
>>>
>>> Public Class MyCheckBoxControl
>>> Inherits System.Windows.Forms.UserControl
>>>
>>> End Class
>>>
>>> As simple as it could possibly be because in the win app, all I want to
>>> do initially is detect when the check box is checked to confirm it is
>>> functioning as a normal checkbox. Later I'll change some properties
>>> (fontsytle and backcolor) when checked.
>>>
>>> But I don't see the CheckedChanged event in the events drop down in the
>>> code editor.
>>>
>>> Can't figure out what happened to it.
>>>
>>> Thanks in advance.
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>