|
|
|
|
<TimeLine>.ChangeMode (Function) In french: <TimeLine>.ChangeMode Modifies the period (which means the number of seconds, milliseconds, microseconds, ...) displayed by a TimeLine control. // Click on BTN_Seconds // Displays 2 minutes TL_TimeLine.ChangeMode(schModeSecond, 120) Â TL_TimeLine.GranularityMovement = 5 TL_TimeLine.GranularityDuration = 1
Syntax
<TimeLine control>.ChangeMode(<Display mode> [, <Range>])
<TimeLine control>: Control name Name of TimeLine control used. <Display mode>: Integer constant Time range that must be displayed in the TimeLine control:
| | schModeCustomNbDay | Displays the TimeLine control on the number of days specified in <Range>. | schModeDay | Displays the TimeLine control while taking the day as display resolution. | schModeMicrosecond | Displays the TimeLine control while taking the microsecond as display resolution. | schModeMillisecond | Displays the TimeLine control while taking the millisecond as display resolution. | schModeMonth | Displays the TimeLine control while taking the month as display resolution. | schModeSecond | Displays the TimeLine control while taking the second as display resolution. | schModeWeek | Displays the TimeLine control on a 5-day week or on a 7-day week. The number of days is specified in <Range>. |
<Range>: Optional integer Total range to display in the TimeLine control while taking the new unit into account.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|