Click here to Skip to main content
15,914,111 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionHow can I change the numeral shapes to arabic? Pin
Mic Mathi13-Aug-07 2:42
Mic Mathi13-Aug-07 2:42 
QuestionPlease help me how to connect to LDAP using vb.net Pin
RichardBlare13-Aug-07 2:34
RichardBlare13-Aug-07 2:34 
AnswerRe: Please help me how to connect to LDAP using vb.net Pin
Craster13-Aug-07 3:54
Craster13-Aug-07 3:54 
GeneralRe: Please help me how to connect to LDAP using vb.net Pin
RichardBlare13-Aug-07 4:30
RichardBlare13-Aug-07 4:30 
GeneralRe: Please help me how to connect to LDAP using vb.net Pin
Craster13-Aug-07 4:32
Craster13-Aug-07 4:32 
QuestionTransparent layer/control.. Pin
DalePurdon13-Aug-07 1:43
DalePurdon13-Aug-07 1:43 
AnswerRe: Transparent layer/control.. Pin
Tom Deketelaere13-Aug-07 2:34
professionalTom Deketelaere13-Aug-07 2:34 
AnswerRe: Transparent layer/control.. Pin
Dave Kreskowiak13-Aug-07 4:20
mveDave Kreskowiak13-Aug-07 4:20 
Transparent is not transparent. I know, just bear with me.

When you tell the BackColor of a control to be transparent, you're not telling the control to be transparent. You're actually telling it to take on the background properties of the controls parent container, in your case, the background of the form. That's why, by default, the background of the control turns gray, not "see through". This is why you can't see other controls between the form and the "transparent" control.

There's no way to "force" this to work using any property. You'd have to make your own version of the control you want to be "transparent" and render it, ALL OF IT, yourself. You'd have to provide all the drawing code to draw the entire control!

This also introduces a problem. Since in order to get an updated view of the "background" of your transparnet control, all the other controls under your will have to redraw themselves. This results in a performance problem because your redrawing just about the entire form to redraw your control.


A guide to posting questions on CodeProject[^]

Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007


QuestionHelp required regarding the Network down/Database down issue in VB6 Pin
nsurendran13-Aug-07 1:04
nsurendran13-Aug-07 1:04 
QuestionRTF files manipulation without using builtin controls Pin
misaw7513-Aug-07 0:25
misaw7513-Aug-07 0:25 
QuestionHow to make certain Columns in a datagrid Read only in vb.net Pin
Vimalsoft(Pty) Ltd12-Aug-07 23:54
professionalVimalsoft(Pty) Ltd12-Aug-07 23:54 
AnswerRe: How to make certain Columns in a datagrid Read only in vb.net Pin
i gr813-Aug-07 7:54
i gr813-Aug-07 7:54 
GeneralRe: How to make certain Columns in a datagrid Read only in vb.net Pin
Vimalsoft(Pty) Ltd14-Aug-07 22:59
professionalVimalsoft(Pty) Ltd14-Aug-07 22:59 
QuestionReduce size of avi file Pin
Rupesh Kumar Swami12-Aug-07 22:42
Rupesh Kumar Swami12-Aug-07 22:42 
AnswerRe: Reduce size of avi file Pin
Christian Graus12-Aug-07 23:57
protectorChristian Graus12-Aug-07 23:57 
QuestionHELP - SIMPLE MATH PROBLEM Pin
cyndy_northrup12-Aug-07 22:05
cyndy_northrup12-Aug-07 22:05 
AnswerRe: HELP - SIMPLE MATH PROBLEM Pin
Christian Graus12-Aug-07 23:56
protectorChristian Graus12-Aug-07 23:56 
AnswerRe: HELP - SIMPLE MATH PROBLEM Pin
Luc Pattyn13-Aug-07 0:50
sitebuilderLuc Pattyn13-Aug-07 0:50 
Questioncrystal reports Pin
Sonia Gupta12-Aug-07 19:05
Sonia Gupta12-Aug-07 19:05 
AnswerRe: crystal reports [modified] Pin
i gr812-Aug-07 22:50
i gr812-Aug-07 22:50 
QuestionPlease I need Help Pin
Agbe12-Aug-07 12:52
Agbe12-Aug-07 12:52 
AnswerRe: Please I need Help Pin
Guffa12-Aug-07 13:53
Guffa12-Aug-07 13:53 
QuestionShow "My Computer on the desktop" Pin
dave/chicago/dc12-Aug-07 12:30
dave/chicago/dc12-Aug-07 12:30 
AnswerRe: Show "My Computer on the desktop" Pin
Dave Kreskowiak12-Aug-07 15:42
mveDave Kreskowiak12-Aug-07 15:42 
GeneralRe: Show "My Computer on the desktop" Pin
dave/chicago/dc18-Aug-07 3:52
dave/chicago/dc18-Aug-07 3:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.