|
-
Aug 29th, 2003, 09:30 AM
#1
Thread Starter
Hyperactive Member
ComboBox Background Image
Dim imgBg As System.Drawing.Image
bg.FromFile(System.Environment.CurrentDirectory & "\Textures\marf.jpg")
cboYear.BackgroundImage = imgBg
Does not put the image behind the combobox. Anybody know why? Is there another combobox property i need to set to allow it to have an image placed behind it?
-
Aug 29th, 2003, 11:15 AM
#2
I wonder how many charact
-
Aug 29th, 2003, 11:38 AM
#3
I wonder how many charact
I also can't get .Backgroundimage to work with a Listbox, which is what a combobox uses to display the choices...
If you step through using debugging, you can see that the image is successfully assigned to the combobox or listbox backgroundimage property, but it does not draw it.
So, there must be an additional execution required.
-
Aug 29th, 2003, 11:59 AM
#4
Thread Starter
Hyperactive Member
Yeah I also tried to see if theres a Style property or something that would make some sense but found zilch. Could it be remotely possible this is a (dramatic pause) BUG?
-
Aug 29th, 2003, 12:29 PM
#5
I wonder how many charact
Bug... quite possible.
Then again, I'm not even sure the listbox and combobox were supposed to have a BackgroundImage property.
If you put one on your form, and right-click it for properties, you won't see it in the propertygrid that appears.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|