The current view.
Usage
Set_Property(OLECtrlEntID, "OLE.View", OptionValue)
Values
OptionValue can be set to one of the following valid options:
Value | Description |
---|---|
SingleDay | Displays one day with the entities running horizontally and time running vertically. |
SingleDayHorz | Displays one day with the entities running vertically and time running horizontally. |
MultiDayHorz | Displays several days with the entities running vertically and the days running horizontally. |
Default: SingleDay
Remarks
The View property sets the current view of the schedule. A view is a prearranged visual layout for the schedule control. There are three available views:
SingleDay
This is the default view. It shows only one day at a time and the entities are represented as columns with the beginning of the day at the top and the end of the day at the bottom.
SingleDayHorz
This view's behavior is identical to the the SingleDay view. It differs only in that the entities are represented as rows and the beginning of the day is at the left and the end of the day is at the right.
MultiDayHorz
This view also has the entities as rows, but instead of only displaying one day, this view displays several days at once. The user can scroll through these days and, when they scroll to either limit, more days are brought into view.
Example
// Switch to the multi-day horizontal view Set_Property(@Window:".OLE_SCHEDULE", "OLE.View", "MultiDayHorz")