Brian,
OK, so I was wrong about CType ... I don't know VB, but I'm sure there's a way to do this in VB. Doesn't GetType() work:
[DefaultValue(GetType(System.Drawing.Color), "Blue")]
~~Bonnie
>Bonnie,
>That wont do it. Ctype wont convert a string to a color. DefaultValue errors on everything ive tried so far for this because it requires a constant value. for now I'll just remove the default. This only affects the reset in the properies window. The actual default is picked up when the private var that stores the field is initialized.
>
>Thanks
>Brian Grant