.NET

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

scroll bar for paletteset

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

Hi,

 

Did you set the UserControl.AutoScroll property to true ?

*Expert Elite*
_gile
Posts: 2,106
Registered: ‎04-29-2006
Message 2 of 4 (170 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 (167 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 (163 Views)

Re : scroll bar for paletteset

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

Thankyou. The scrollbar gets displayed.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.