|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
UserControl(?) QuestionI've designed a UserControl that acts as a custom DataSource. However,
when I add it to a form, I don't want it *on* the form itself, but in that little area below it (does it have a name?) where the built-in Data controls such as the BindingSource go. How can I do that? I'm not sure but I think it has something to do with using as a base class
the System.ComponentModel.Component. I seem to remember reading this somewhere but can't remember much about it. -- Show quoteHide quoteDennis in Houston "tesla***@hotmail.com" wrote: > I've designed a UserControl that acts as a custom DataSource. However, > when I add it to a form, I don't want it *on* the form itself, but in > that little area below it (does it have a name?) where the built-in > Data controls such as the BindingSource go. How can I do that? > > Dennis wrote:
> I'm not sure but I think it has something to do with using as a base class Thank you! Now that I know the *name* of what I'm trying to create, I> the System.ComponentModel.Component. I seem to remember reading this > somewhere but can't remember much about it. was able to Google a page which describes the whole process: http://www.vbip.com/books/1861007167/chapter_7167_10.asp I don't have a "Project | Add Component" menu option as described - maybe because I'm using VB.NET 2005 Express? But I was able to copy the code they showed into a class, and it works just fine.
Create new "me"
Think BEFORE you post. Or in MsgBox Function Citrix, VB.NET and Repaint regex question What in the world is my prof trying to say? Dealing with MsgBox Writing to Multiple Files - VB6 time formatting error How to figure this one out - "The isnull function requires 2 argument(s)" Command line argument |
|||||||||||||||||||||||