|
-
Jun 26th, 2008, 03:53 PM
#1
Thread Starter
Addicted Member
[2008] Something Very Simple
I'm just starting to use vb 2008 so i'm kinda new this.
I made a button and a canvas. (i tried this with a frame too but same issue)
I'm trying to make it so when the user presses the button the canvas will disapear.
I am using the wpf. ( i'm trying to learn it. It seems cool)
I know in regular vb 2005 I would just set the visible property.
But with this i'm lost. I tried the visibility property but i cant get it to work.. Can anybody help?
and thanks in advance
-
Jun 26th, 2008, 04:07 PM
#2
Frenzied Member
Re: [2008] Something Very Simple
if you don't need to display it anymore you might could try .Dispose().
Justin Fox
-
Jun 26th, 2008, 04:10 PM
#3
Thread Starter
Addicted Member
Re: [2008] Something Very Simple
thanks
well i'm trying to have it so the user will be able to toggle the canvas on and off.
-
Jun 26th, 2008, 04:19 PM
#4
Thread Starter
Addicted Member
Re: [2008] Something Very Simple
Ok I got it working
Canvas1.Visibility = Visibility.Visible
-
Jun 26th, 2008, 04:23 PM
#5
Frenzied Member
Re: [2008] Something Very Simple
Kinda weird, but thats cool!
Justin
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
|