nfilatov

How to set maximum value for Time Range Scroll

Discussion created by nfilatov on Dec 20, 2010
Latest reply on Dec 29, 2010 by Ahmad Fattahi

When I try to set maximum value of Time Range Scroll like this:

 
            PBCommandBar pbBar;
            pbBar = CommandBars.Item("Time Range Toolbar");
            m_pbScroll = (PBCommandBarScroll)pbBar.Controls.Item("Time Range Scroll");
            m_pbScroll.Max = 100;

it is doesn't set and always equal 10 000. How to do this correctly?

Outcomes