OLE control properties are the primary means of interacting with OLE controls. Properties, much like OI control properties, describe the persistent attributes of the control, that is, attributes having some meaningful value for the entire life of the control. Like OI control properties, OLE control properties are manipulated using the Get_Property and Set_Property routines. The following properties apply to the SRP DatePicker Control:
Property | Description | Version Introduced |
---|---|---|
Autosize | Determines if the control should decide the number of visible months based on its size. | |
Border | The control's border style. | |
BorderColors | Customizes the colors of an SRP ActiveX Control's border. | 3.1.0 |
The displayed day of week names. | ||
DayStyle | A day's font and color scheme. | |
FirstDayOfWeek | The day of the week to appear on the left most column. | |
FirstMonth | The first visible month. | |
FirstWeekOfYear | The month and day that starts the first week of the year. | |
Font | The font used to render the control. | |
GridSize | The number of visible months. | |
HighlightToday | Determines if today's date is identified by a colored border. | |
MaxSelCount | The maximum number of selectable days. | |
MonthDelta | The number of months to scroll at a time. | |
MonthNames | The displayed month names. | |
NoncontinuousSelection | Determines if users can select non-continuous dates. | |
NoneButtonVisible | Shows or hides the None button. | |
ProgID | The control's ProgId/Class Name. | |
Range | The minimum and maximum allowable dates. | |
RightToLeft | Determines if reading order is right-to-left. | |
Selection | The current selection. | |
SelPos | The currently selected cell. | |
ShowNonMonthDays | Determines if the non month days appear in the first and last months. | |
ShowWeekNumbers | Determines if week numbers appear to left of each month. | |
Theme | The visual theme. | |
TodayButtonVisible | Shows or hides the Today button. | |
Version | The control's version info. |