custom user control ? anyone use them?

  • Thread starter Thread starter Ron
  • Start date Start date
R

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 <at> yahoo.com ?

thanks.
 
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
 
Back
Top