ObjectARX
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 2
kapil_CCTech
251 Views, 1 Reply

RibbonSlider

Hi folks,

 

I have created a ribbon in AutoCAD 2013 and I want to add a RibbonSlider over it.

 

I wrote below code-

 

RibbonSlider slide=new RibbonSlider();

slide.TextBox1Text = Convert.ToString(slide.Value);

slide.TextBox1Visibility = System.Windows.Visibility.Visible;
slide.Maximum=100.0;
slide.Minimum = 0.0;
slide.ShowText = true;

 

But when I drag the tab, the value in Textbox doesn't change.

Please help with piece of code.

 

Regards,

Kapil.

1 REPLY 1
Message 2 of 2
Balaji_Ram
in reply to: kapil_CCTech

Hi Kapil,

 

Please try binding them as :

 

textBox.TextValueBinding = slider.ValueBinding



Balaji
Developer Technical Services
Autodesk Developer Network

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

Post to forums  

Autodesk Design & Make Report

”Boost