TTMSFNCCustomTimeline Class
Base class for the TMS FNC Timeline control; displays date/time or numeric indicators and range sections along a scrollable, zoomable axis with configurable appearance, layout, interaction, and data-adapter support.
API unit family: TMSFNCTimeline
Inherits from: TTMSFNCCustomScrollControl
Implements: ITMSFNCAppearanceGlobalFont, ITMSFNCBitmapContainer
Syntax
TTMSFNCCustomTimeline = class(TTMSFNCCustomScrollControl, ITMSFNCAppearanceGlobalFont, ITMSFNCBitmapContainer)
Methods
| Name | Description |
|---|---|
| AddIndicator | Adds an indicator at the specified timeline value. |
| AddSection | Adds a section between the specified timeline values. |
| BeginUpdate | Starts a batched update and delays repainting until EndUpdate is called. |
| CenterPosition | Centers the visible timeline range around the specified position. |
| CenterValue | Centers the visible timeline range around the specified value. |
| DecreaseZoomFactor | Decreases the zoom factor by the specified percentage. |
| Draw | Draws the timeline into the specified graphics context and rectangle. |
| EndUpdate | Ends a batched update and refreshes the timeline when needed. |
| FindIndicatorWithDBKey | Finds the first indicator with the specified database key. |
| FindSectionWithDBKey | Finds the first section with the specified database key. |
| IncreaseZoomFactor | Increases the zoom factor by the specified percentage. |
| IsIndicatorHovered | Returns whether the indicator at the specified index is hovered. |
| IsPositionVisible | Returns whether the specified position is visible. |
| IsSectionHovered | Returns whether the section at the specified index is hovered. |
| IsValueVisible | Returns whether the specified value is visible. |
| PositionVisibleEnd | Scrolls so the specified position is visible near the end of the viewport. |
| PositionVisibleStart | Scrolls so the specified position is visible near the start of the viewport. |
| ResetZoomFactor | Resets the timeline zoom factor to its default value. |
| Resize | Updates layout calculations after the control size changes. |
| ValueVisibleEnd | Scrolls so the specified value is visible near the end of the viewport. |
| ValueVisibleStart | Scrolls so the specified value is visible near the start of the viewport. |