And, thanks to David's great insight, I did find the problem... I modified
the paint method to:
Private Sub Form_Paint(ByVal sender As Object, ByVal e As
System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
Dim objBrush As New Drawing2D.LinearGradientBrush(Me.DisplayRectangle,
Color.White, Color.CornflowerBlue, Drawing2D.LinearGradientMode.Vertical)
e.Graphics.FillRectangle(objBrush, Me.DisplayRectangle)
objBrush.Dispose()
End Sub
Thanks for the help
Derrick
[quoted text, click to view] "Derrick" <Derrick_no_spam@geostrategies.ca> wrote in message
news:Qlx0c.633620$JQ1.399499@pd7tw1no...
> Here it is...
>
> Private Sub frmMain_Paint(ByVal sender As Object, ByVal e As
> System.Windows.Forms.PaintEventArgs) Handles MyBase.Paint
> Dim objBrush As New
> Drawing2D.LinearGradientBrush(Me.DisplayRectangle, Color.White,
> Color.CornflowerBlue, Drawing2D.LinearGradientMode.Vertical)
> Dim objGraphics As Graphics = Me.CreateGraphics()
> objGraphics.FillRectangle(objBrush, Me.DisplayRectangle)
> objBrush.Dispose()
> objGraphics.Dispose()
> End Sub
>
> Thanks
>
> Derrick
>
> "David Clegg" <dclegg@nospam.ebetonline.com> wrote in message
> news:xn0df9azm7q3kl000@msnews.microsoft.com...
> > Derrick wrote:
> >
> > > Yep - the transparent Back color doesn't work with any controls that
> > > I have seen. Using that setting makes all controls have the
> > > 'control' color background in run time.
> >
> > Could you post your form_paint code? I had a similar problem due to a
> > silly oversight on my part. Instead of using the Graphics object passed
> > in the PaintEventArgs, I was creating my own. End result; controls
> > didn't have transparent backgrounds.
> >
> > --
> > Cheers,
> > David Clegg
> > dclegg_at_ebetonline_dot_com
> >
> > "Vampires are make believe, just like elves and gremlins and
> > eskimos." - Homer Simpson
>
>