Page History
...
Pos | Name | Type | Description | Default |
---|---|---|---|---|
<1> | Start Time | Integer | The visible starting time | 0 |
<2> | End Time | Integer | The visible end time | 24 |
<3> | Time Label Factor | Integer | The number of hours to display an hour label | 1 |
Remarks
The TimeRange property can be used to limit how much of the day, in hours, is visible to the user. By default, the user can see from 12:00am to 11:59pm in one day. The values passed into the range are in hours, with 0 being 12:00am and 24 being 11:59pm.
...
In all cases, the property will ensure that at least one hour is visible to the user.
Time Label Factor
This field is only used in the MultiDayHorz View. When set to 1, then the current hour is displayed every hour. When set to 3, then the current hour is displayed every 3 hours.
Example
Code Block |
---|
// Only show the user 8am to 5pm
Set_Property(@Window:".OLE_SCHEDULE", "OLE.TimeRange", 8:@FM:17)
// Show the whole day, but only display midnight and noon times (only works in MultiDayHorz View)
Set_Property(@Window:".OLE_SCHEDULE", "OLE.TimeRange", 0:@FM:24:@FM:12) |