Custom Controls

  • Thread starter Thread starter msdn
  • Start date Start date
M

msdn

How can I set the backcolor =transparent in a custom control, just raise
error, but every control like label or windows.form permit that

Regards,
Harold
 
Hi,

In the new procedure add this line

Me.SetStyle(ControlStyles.SupportsTransparentBackColor, True)



Ken

----------------------

How can I set the backcolor =transparent in a custom control, just raise
error, but every control like label or windows.form permit that

Regards,
Harold
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top