Multiple Distinct Looks in my component

B Rad

Member
Joined
Nov 20, 2004
Messages
10
Location
Goldsboro, NC
Programming Experience
1-3
I want to create a custom component that will allow the user to choose from several distinct "looks" at design-time. It is actually a customized e-mail component that I would like the user to be able to choose from "looks" that resemble several of the most widely used e-mail applications.

Preferrably, I want this component built as one dll, not several to represent each "look." Then, in the Properties window, they select which view they want from a drop-down box. Is this possible, or will each "look" have to have its own dll?


Thanks in advance for any help.


B Rad
 

JuggaloBrotha

VB.NET Forum Moderator
Staff member
Joined
Jun 3, 2004
Messages
4,524
Location
Lansing, MI; USA
Programming Experience
10+
it's certainatly possible to do all this in one dll, on the control itself give it a property that lists the "looks" and when this property changes have it switch to that "look" IE call the sub that you've made to give it that "look"

in each of the looks subs you would want to have all the objects created and placed in code, you probably wont be able to use the form designer for this
 
Top Bottom