.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

scroll bar for paletteset

3 REPLIES 3
SOLVED
Reply
Message 1 of 4
newautocad123
852 Views, 3 Replies

scroll bar for 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. 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.

3 REPLIES 3
Message 2 of 4
_gile
in reply to: newautocad123

Hi,

 

Did you set the UserControl.AutoScroll property to true ?



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

Message 3 of 4
sendil_ms
in reply to: _gile

Thanks. It works.

Message 4 of 4
newautocad123
in reply to: _gile

Thankyou. The scrollbar gets displayed.

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

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost