Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form-wide controls 1

Status
Not open for further replies.

shatch

Programmer
Jul 9, 2004
346
GB
Hi

I often see controls which are rendered at the bottom of the screen in VB.net (connections, datasets, imagelists) and was wondering if anyone knew how to make them?

I would search on Google but to be honest am not sure what to search for, i am sure someone here must have done this.

Thanks in advance

 
What do you mean by make them? You can add them to the form from the toolbox. They'll show up at the bottom of the form during design-time, but those are just icons for easy clicking while coding. They won't render at runtime.
 
If you mean that you want to create your own controls of that type then when you start a new control project, include:

Inherits System.ComponentModel.Component

The control however, should be non-visual

Hope this helps
 
I mean how do you create new classes (or controls) from scratch which show up there.

Essentially i want to create a class which will allow the user to change properties during design time via properties rather than though the background code.

Thanks
 
THanks Earthandfire, that was exactly what i needed to know... I have never used components before.
 
Ahh. Sorry, I completely misread the question :(
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top