CalendarEvent.SetLength
From Jeremie Leroy - XOJO Controls Wiki
Method
CalendarEvent.SetLength ( Value As Double )
Set the length (in seconds) of the CalendarEvent
This code will set the length of the Event to 2 hours <rbcode> me.SetLength(2*60*60) </rbcode>