API Documentation -> NtTimeChartControl -> noHScrollShifting

# NtTimeChartControl.noHScrollShifting Member

When scrolling horizontally to the end of the scroll range, the control rearranges the scroll range in a way that the current position in time is kept but the scrollbar flips back to the center of the scroll bar. This way, the user can repetitevly scroll to the left for exampe, while the scroll bar keeps jumping back to the center. Thereby the user can walk seamlessly through the almost endless area of time without stopping to scroll.
You can prohibit this behaviour by setting this member noHScrollShifting to true. In this case, the user can sroll to the right or left but then reaches the end and can not go further. By this means you can limit the time range the user can view.
For example you want to use a NtTimeChartControl to give users an overview over business activities of one week. In this case you will want to set up the sheet of the NtTimeChartControl to one week. Then the user can scroll across the full week but not more. So it is impossible to view any time area before or after this specified week.

Type:

bool

Remarks:

This member can be assigned at any time.

See also:

ScrollToDt()
Init()

Top API Documentation -> NtTimeChartControl -> noHScrollShifting © 2016 Bassaly