Alternate PLacement of a toolbar


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Alternate PLacement of a toolbar

  1. #1
    XerosAqua Guest

    Alternate PLacement of a toolbar


    Im making a console application,
    Its got a text editor on the main form(an accesorie)
    Im going to have many other utilities on the form, so i used the microsoft
    tab strip control, and put the txt box on it, The problem is , i cant move
    the toolbar for the text editor, its stuck at the top, and there seems to
    be no way to move it on to the tab, and another thing, i cant seem to get
    the tab strip control to work, when i switch tabs, what was on the last tab
    is still on the secound tab?, any help?

  2. #2
    Larry Rebich Guest

    Re: Alternate PLacement of a toolbar

    Change the toolbar's Alignment Property to 'none' then move the toolbar in
    your resize event.

    Cheers,
    Larry Rebich

    More tips link to:
    http://www.buygold.net/tips.html

    Please:
    No personal e-mail questions :-)


    "XerosAqua" <XerosAqua@hotmail.com> wrote in message
    news:3a1efb4b$1@news.devx.com...
    >
    > Im making a console application,
    > Its got a text editor on the main form(an accesorie)
    > Im going to have many other utilities on the form, so i used the microsoft
    > tab strip control, and put the txt box on it, The problem is , i cant move
    > the toolbar for the text editor, its stuck at the top, and there seems to
    > be no way to move it on to the tab, and another thing, i cant seem to get
    > the tab strip control to work, when i switch tabs, what was on the last

    tab
    > is still on the secound tab?, any help?




  3. #3
    Matt Wyant Guest

    Re: Alternate PLacement of a toolbar

    The TabBar control is not a frame-type control, meaning that the tabbar will
    not automatically hide/show the controls placed within it, like a
    picturebox. You need to hard-code in the appropriate visible properties for
    your controls in the Clicked function.

    Matt Wyant
    MDWyant@SRPnet.com


    "XerosAqua" <XerosAqua@hotmail.com> wrote in message
    news:3a1efb4b$1@news.devx.com...
    >
    > Im making a console application,
    > Its got a text editor on the main form(an accesorie)
    > Im going to have many other utilities on the form, so i used the microsoft
    > tab strip control, and put the txt box on it, The problem is , i cant move
    > the toolbar for the text editor, its stuck at the top, and there seems to
    > be no way to move it on to the tab, and another thing, i cant seem to get
    > the tab strip control to work, when i switch tabs, what was on the last

    tab
    > is still on the secound tab?, any help?




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center