• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Discussion Groups

    .NET

    Reply
    Valued Contributor
    Posts: 58
    Registered: ‎09-03-2012
    Accepted Solution

    scroll bar for paletteset

    99 Views, 3 Replies
    01-06-2013 08:46 PM

    I created an an app that uses a paletteset, and displays an usercontrol in it. I want to add a scroll to the paletteset. As when I resize it for editing the dwg file, The paletteset data below cannot be viewed without a scrol bar. Please suggest a way to get the scroll bar.
     

    Autodesk.AutoCAD.Windows.PaletteSet m_ps = new Autodesk.AutoCAD.Windows.PaletteSet("Object Data");
    UC uControl = new UC();
    m_ps.Add("Object Data", uControl );
     m_ps.Visible = true;
    
    

     paletteset properties does have any properties related to scrollbar.

     

    Thanks.

    Please use plain text.
    *Expert Elite*
    Posts: 1,647
    Registered: ‎04-29-2006

    Re : scroll bar for paletteset

    01-06-2013 10:37 PM in reply to: newautocad123

    Hi,

     

    Did you set the UserControl.AutoScroll property to true ?

    Gilles Chanteau
    Please use plain text.
    Member
    Posts: 3
    Registered: ‎01-06-2013

    Re : scroll bar for paletteset

    01-06-2013 10:41 PM in reply to: _gile

    Thanks. It works.

    Please use plain text.
    Valued Contributor
    Posts: 58
    Registered: ‎09-03-2012

    Re : scroll bar for paletteset

    01-06-2013 10:46 PM in reply to: _gile

    Thankyou. The scrollbar gets displayed.

    Please use plain text.