Results 1 to 3 of 3

Thread: TabControle

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2009
    Location
    Denmark
    Posts
    132

    Question TabControle

    I can't code this thing, i want to.

    When Tabpage2 is selected, tabpage1 should be disabled, and the form should change to the size that i want it to be.
    Can someone help me with this? :-)

    Thanks.
    Eldrup

  2. #2
    PowerPoster
    Join Date
    Apr 2007
    Location
    The Netherlands
    Posts
    5,070

    Re: TabControle

    I'm not sure if you can disable a tabpage (as in, making it impossible to be selected), but you can do the rest by handling the SelectedTabChanged or SelectedPageChanged or something like that, you'll find it.

    In that event, just check if the selected tab is TabPage2, and if it is set the forms Size property.

  3. #3
    Master Of Orion ForumAccount's Avatar
    Join Date
    Jan 2009
    Location
    Canada
    Posts
    2,802

    Re: TabControle

    Nick is correct, TabPages have no Enabled property.

Tags for this Thread

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