10010 : Stop the client from changing the scale


Is it possible to stop the client from changing the scale of the DateScaler (via the drag feature) but still allow them to navigate the times not visible with the Scroll Buttons?


Make sure you set the dateScaler.ResizeType=ResizingType.StartLocked or dateScaler1.ResizeType=ResizingType.StopLocked. If you do this the scale will not change when the user resize the control.

The dateScaler.OnScaleChangeEvent is triggered whenever the scale is about to change, implement this event and set the scale back to the desired value; by setting Start and Stop.

You probably want to set the ReScaleWithControl=true to force the user to press the CTRL key to get to the zoom function.