AutoCAD Map 3D Developer
Welcome to Autodesk’s AutoCAD Map 3D Developer Forums. Share your knowledge, ask questions, and explore popular AutoCAD Map 3D Developer topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add scroll bar for paletteset with an UserControl

1 REPLY 1
SOLVED
Reply
Message 1 of 2
Anonymous
847 Views, 1 Reply

How to add scroll bar for paletteset with an UserControl

// created PaletteSet and added a new UserControl instance.

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;

The above displays the PaletteSet.

 

I created an an app that uses a paletteset, and displays an usercontrol in it. I want to add a scroll to the paletteset. because  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  add scroll bar for paletteset with an UserControl.

 

1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

set the UserControl.AutoScroll property to true. It works.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost