Wrox Programmer Forums
|
VB.NET 2002/2003 Basics For coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 5th, 2004, 01:30 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default Transparent Datagrid Problem

I've changed the BackgroundColor of a datagrid to Transparent in a Windows VB.NET application, hoping to show the image in its ParentForm's background (which is mostly covered by the datagrid). This works great for labels and buttons. However, the datagrid appears to be showing NOT the background of its ParentForm, but the background of the form UNDER the ParentForm. IOW, it appears to not only be rendering the datagrid transparent, but also its ParentForm, so that what's showing through the datagrid is the the window beneath the datagrid's ParentForm. If there is no window beneath it, then the desktop shows through as the background of the datagrid.

So, how do I get it to not turn the form it resides on transparent so that it shows the form's image, and not what's underneath the form?





Similar Threads
Thread Thread Starter Forum Replies Last Post
Transparent Label morteza57 C# 5 February 15th, 2008 04:36 PM
Transparent PictureBox? tal C# 2005 5 April 19th, 2007 01:59 PM
Transparent Frame rolandatem Pro VB 6 4 April 4th, 2005 06:15 PM
Transparent boxes patwadd Classic ASP Basics 0 February 1st, 2005 08:43 AM
transparent subforms Raif Access 3 June 8th, 2004 03:49 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.