Results 1 to 7 of 7

Thread: [RESOLVED] Some question about TabControl

  1. #1

    Thread Starter
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Resolved [RESOLVED] Some question about TabControl

    A) can i set the minimum width of a new created tab ?
    B) can i replace the default tab shape with an image ?
    C) is there a simple why to drag tabs to change their orders in the tab list like most modern application do or i have to code it ?
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

  2. #2
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Some question about TabControl

    A - I dont think so, not in Winforms but very easy in WPF
    B - Possibly if there is an OwnerDraw property of the tab header but again very easy in WPF
    C - Pretty sure you have to code it yourself
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  3. #3

    Thread Starter
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Re: Some question about TabControl

    how can i start learning about WPF? i have no idea what it is but i keep hearing about it.
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

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

    Re: Some question about TabControl

    In a regular TabControl, all answers are no.

    I have provided a codebank submission for the third question though. I already told you about it in the contextmenustrip thread (it's the same control). There's a TabControl that allows you to drag the tabs around.

  5. #5

    Thread Starter
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Re: Some question about TabControl

    ok thank you Nick i will check it now, can you answer my last question please?

    Code:
    how can i start learning about WPF? i have no idea what it is but i keep hearing about it.
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

  6. #6
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Some question about TabControl

    Quote Originally Posted by motil View Post
    how can i start learning about WPF? i have no idea what it is but i keep hearing about it.
    We have a WPF section on these forums - http://www.vbforums.com/forumdisplay.php?f=86
    Specifically there is a thread in there at the top titled WPF, WCF and WF Tutorials which should help you out
    and also this one that gives you a summary of what WPF is: http://www.vbforums.com/showthread.php?t=570937
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  7. #7

    Thread Starter
    PowerPoster motil's Avatar
    Join Date
    Apr 2009
    Location
    Tel Aviv, Israel
    Posts
    2,143

    Re: Some question about TabControl

    Thanks
    * Rate It If you Like it

    __________________________________________________________________________________________

    "Programming is like sex: one mistake and you’re providing support for a lifetime."

    Get last SQL insert ID

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