Results 1 to 5 of 5

Thread: [2008] Something Very Simple

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Maryland
    Posts
    182

    [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

  2. #2
    Frenzied Member
    Join Date
    Feb 2008
    Location
    Texas
    Posts
    1,288

    Re: [2008] Something Very Simple

    if you don't need to display it anymore you might could try .Dispose().

    Justin Fox
    You down with OOP? Yeah you know me!
    MCAD and MCMICKEYMOUSE (vb.net)

    ----

    If it even kinda helps... rate it : )

    Edit a Multi-page .tif file and save.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Maryland
    Posts
    182

    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.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Feb 2006
    Location
    Maryland
    Posts
    182

    Re: [2008] Something Very Simple

    Ok I got it working

    Canvas1.Visibility = Visibility.Visible

  5. #5
    Frenzied Member
    Join Date
    Feb 2008
    Location
    Texas
    Posts
    1,288

    Re: [2008] Something Very Simple

    Kinda weird, but thats cool!

    Justin
    You down with OOP? Yeah you know me!
    MCAD and MCMICKEYMOUSE (vb.net)

    ----

    If it even kinda helps... rate it : )

    Edit a Multi-page .tif file and save.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width