By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,633 Members | 1,753 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,633 IT Pros & Developers. It's quick & easy.

custom user control ? anyone use them?

P: n/a
Ron
I would like some more information on custom controls, what they can
do and things like that, what you would use them for etc...

Can anyone here share some examples of what you have used a custom
control for and possibly email a zip file with that control so I could
run it in a program to see how it worked? to pts4560 <atyahoo.com ?

thanks.

Apr 4 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Ron-

You can search the Visual Studio / Visual Basic documentation in the IDE for
Custom Controls, User Controls or Composite Controls. It sounds like that
is what you are looking for.

Custom controls are just that, custom controls you build and program from
'the ground up' for lack of a better term. With custom controls, you even
program the visual rendering of the control using a graphics object.

User Controls and Composite Controls are basically the same thing - placing
different but related controls on a form were they can act together - sort
of as a whole.

An example of a user or composite control... Recently, I worked on an
application that did some customer database lookups and returned a customer
along with alot of customer specific info.

I created a composite or user control that displayed all the customer's
information such as a label/textbox sets for name, address and other
information. A couple comboboxes for some other customer related status
information. And a few checkboxes / radiobuttons with customer options.
Basically, my composite control became a customer 'at a glance' control in
one functional unit.

I was then able to easily add one or more of these 'customer controls' to
the forms as a whole instead of all of those parts small parts individually.

Hopefully, I am explaing this correctly.

Tony Wissler
Dad, MCP, MCSE

"Ron" <pt*****@yahoo.comwrote in message
news:11**********************@y80g2000hsf.googlegr oups.com...
>I would like some more information on custom controls, what they can
do and things like that, what you would use them for etc...

Can anyone here share some examples of what you have used a custom
control for and possibly email a zip file with that control so I could
run it in a program to see how it worked? to pts4560 <atyahoo.com ?

thanks.

Apr 4 '07 #2

P: n/a
Ron,

Custom grids and comboboxes are very often used,

Cor

"Ron" <pt*****@yahoo.comschreef in bericht
news:11**********************@y80g2000hsf.googlegr oups.com...
>I would like some more information on custom controls, what they can
do and things like that, what you would use them for etc...

Can anyone here share some examples of what you have used a custom
control for and possibly email a zip file with that control so I could
run it in a program to see how it worked? to pts4560 <atyahoo.com ?

thanks.

Apr 5 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.