Movicon Help on Line - Rel. 11.7.1301
Syntax |
HasHolidays = _Boolean |
Description |
This property lets you know whether the scheduler object has been set for managing holidays. This property can also be modified in runtime. When a scheduler object is not set to manage holidays, all the inherent methods ("AddHoliday", "RemoveHoliday", ecc.) will not have effect. |
Parameter |
Description |
None |
None |
Result |
Boolean |
Example:
Option Explicit
Public Sub Click()
Dim SchedObj As SchedulerCmdTarget
Set SchedObj = GetScheduler("Sched1")
If Not SchedObj Is Nothing Then
MsgBox SchedObj.HasHolidays,vbOkOnly, GetProjectTitle
End If
Set SchedObj = Nothing
End Sub