Movicon Help on Line - Rel. 11.7.1301
Syntax |
GetHolidaysString(_lpszSep) |
Description |
This function returns a string divided by the pre-chosen separation character (function parameter) with the list of all the holiday dates set in the scheduler object. These dates are expressed in days and months only. |
Parameter |
Description |
lpszSep as string |
Separator character between the dates returned in the string from the function. |
Result |
String |
Example:
Option Explicit
Public Sub Click()
Dim SchedObj As SchedulerCmdTarget
Set SchedObj = GetScheduler("Sched1")
If Not SchedObj Is Nothing Then
MsgBox "Holidays Date = " & CStr(SchedObj.GetHolidaysString(",")),vbOkOnly,GetProjectTitle
End If
Set SchedObj = Nothing
End Sub