.NET

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

scroll bar for paletteset

188 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,132
Registered: ‎04-29-2006
Message 2 of 4 (177 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 (174 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 (170 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
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.