Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
i paint a picture with the drawImage methode but my LinkLabel's background is the form color even if i put it transparent. i tryed evrything and i can'T make the background transparent. I read that i could inherit the control to be able to use the setstyle methode but i have no idea how to do it ! how do i inherit a control ?
Posted
its not working. i guess i can'T paint over a controls so the back color of the control become transparent but shows the form backcolor instead of the bitmap
Posted

Put this code in a test button, make a picturebox1

 

Dim PSNormal As New Pen(Color.Red, 1)

Dim g As Graphics = PictureBox1.CreateGraphics

 

g.DrawLine(PSNormal, 5, 50, 100, 100)

 

 

It will draw a line across the picturebox. I already deleted the other samplecode, look in help under draw text - (instead of draw line) will do the same.

www.DRSTEIN99.com www.RAIDGEAR.net www.THERE.com -> Tell them DrStein99 sent ya!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...