How to set BackgroundImage for TrackBar control.

  • Thread starter Thread starter Sakharam Phapale
  • Start date Start date
S

Sakharam Phapale

Hi All,

How to set the background image for TrackBar control.
Since BackgroundImage property doesn't visible in design mode, I tried doing
it in run time as follows,

myTrackBar.BackgroundImage = Image.FromFile("C:\myImage.bmp")

But by doing so don't set BackgroundImage of TrackBar.
Any help regarding such will be appreciated.

Thanks in advance
Sakharam Phapale
 
Although it comes up in intellisense, background image does not appear to be
supported, its not mentioned in the help.

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
 
Hi Terry,
Thanks for reply.

But, TrackBar.BackgroudImage property is mentioned in the help.
Actually I want to make TrackBar transparent, but it's also not supported.
Is there any other way to do so.

Thanks and regards.
Sakharam Phapale
 
There probably is, but you will more than likely have to refer to the API.

--
OHM ( Terry Burns ) * Use the following to email me *

Dim ch() As Char = "ufssz/cvsotAhsfbuTpmvujpotXjui/OFU".ToCharArray()
For i As Int32 = 0 To ch.Length - 1
ch(i) = Convert.ToChar(Convert.ToInt16(ch(i)) - 1)
Next
Process.Start("mailto:" & New String(ch))
 
Back
Top