.NET

Reply
Valued Contributor
newautocad123
Posts: 58
Registered: ‎09-03-2012
Message 1 of 4 (164 Views)
Accepted Solution

scroll bar for paletteset

164 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.

*Expert Elite*
_gile
Posts: 2,077
Registered: ‎04-29-2006
Message 2 of 4 (153 Views)

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
Member
sendil_ms
Posts: 3
Registered: ‎01-06-2013
Message 3 of 4 (150 Views)

Re : scroll bar for paletteset

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

Thanks. It works.

Valued Contributor
newautocad123
Posts: 58
Registered: ‎09-03-2012
Message 4 of 4 (146 Views)

Re : scroll bar for paletteset

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

Thankyou. The scrollbar gets displayed.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community