|
-
Sep 18th, 2003, 10:01 AM
#1
Thread Starter
Frenzied Member
refrence to a non-shared member requires an object refrence? [resolved]
ok i am new to vb.net and started 1 day ago..
i want to change an usercontroll's background image to a similar image in the main form where it is located
either i want to do this through the usercontroll or through the frame itself
how can i do this ? :S
Last edited by Ultimasnake; Sep 18th, 2003 at 10:12 AM.
-
Sep 18th, 2003, 10:05 AM
#2
Each control should have a BackgroundImage property just set that to what you need. If you are gettings a 'refrence to a non-shared member requires an object refrence' error then you aren't referencing an instance of a control. Post your code for more help.
-
Sep 18th, 2003, 10:07 AM
#3
Thread Starter
Frenzied Member
Me.BackgroundImage = frmmain.temp_cmd_new.image
thats all i am trying to do... this is from the usercontroll to the form
but the other way around the backgroundimage property is not even available
-
Sep 18th, 2003, 10:11 AM
#4
Thread Starter
Frenzied Member
nm got it to work.. stupid me
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
|