Custom RecurrenceForm

Originally Posted 20 March 2017, 9:42 am EST

  • Originally Posted 20 March 2017, 9:42 am EST

    Hi,
    how can i create and handle a custom RecurrenceForm (without the usual "Dim form As RecurrenceForm = New RecurrenceForm(C1Calendario, pattern, isNew)")
    I can't find any kinda info about that in the whoile site...
    Thanks

    Regards,
    Fabio La Vitola
  • Reply

    Hi Fabio La Vitola,

    You can make changes in the default Recurrence form of C1Scheduler by accessing it WndProc method. Please refer to the attached sample application implementing the same.

    Please let us know if you need any further assistance on it.

    Thanks,
    Akshay
    2017/03/prj_Scheduler_VB.zip
  • Reply

    Downloaded and testing.
    I'll keep u updated.
    Thanks

    Fabio
  • Reply

    I've given a look at your code, but I did expect more flexibility.

    I think a RecurrencePattern GET/SET would be the goal; too many readonly properties restrict full customization.
    Hoping you plan to extend custom capabilites for Recurrence, i'll try to use some lines of the code u provided.
    Thanks

    Regards,
    Fabio
  • Marked as Answer

    Reply

    Hi Fabio,

    You can change the recurrence pattern of any appointment programatically by using the GetRecurrencePattern method.
    c1Schedule1.DataStorage.AppointmentStorage.Appointments(0).GetRecurrencePattern().Duration = New TimeSpan(10, 0, 0, 0)

    In the abaove code we have modified the duration of recurrence of first appointment. The same way you can modify the other properties as well.

    Hope it helps.

    Thanks,
    Akshay
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels