scroll bar for paletteset

scroll bar for paletteset

Anonymous
Not applicable
1,282 Views
3 Replies
Message 1 of 4

scroll bar for paletteset

Anonymous
Not applicable

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.

0 Likes
Accepted solutions (1)
1,283 Views
3 Replies
Replies (3)
Message 2 of 4

_gile
Consultant
Consultant
Accepted solution

Hi,

 

Did you set the UserControl.AutoScroll property to true ?



Gilles Chanteau
Programmation AutoCAD LISP/.NET
GileCAD
GitHub

0 Likes
Message 3 of 4

Anonymous
Not applicable

Thanks. It works.

0 Likes
Message 4 of 4

Anonymous
Not applicable

Thankyou. The scrollbar gets displayed.

0 Likes