ObjectARX

Reply
Active Contributor
kapil_CCTech
Posts: 39
Registered: ‎06-07-2012
Message 1 of 2 (114 Views)

RibbonSlider

114 Views, 1 Replies
09-24-2012 12:53 AM

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.

ADN Support Specialist
Balaji_Ram
Posts: 662
Registered: ‎03-21-2011
Message 2 of 2 (88 Views)

Re: RibbonSlider

10-05-2012 08:16 AM in reply to: kapil_CCTech

Hi Kapil,

 

Please try binding them as :

 

textBox.TextValueBinding = slider.ValueBinding



Balaji
Developer Technical Services
Autodesk Developer Network

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community