Date: Thu, 28 Mar 2024 11:44:56 -0700 (PDT) Message-ID: <26798930.291.1711651496244@wiki.srpcs.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_290_527967641.1711651496244" ------=_Part_290_527967641.1711651496244 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Fired when the user is about to drag an appointment.
Parameter | Description |
---|---|
ApptID | ID of the appointment |
The BeforeApptDrag event fires when the user is about to drag an appoint= ment but before the dragging actually occurs. This event gives the develope= r the opportunity to decide if the appointment should be allowed to drag. T= o cancel the dragging operation, simply set the Cancel property to 1.
Transfer Param1 to= ApptID=20 // Don't allow users to move past appointments=20 If Get_Property(CtrlEntId, "OLE.Date") < Date() then=20 Set_Property(CtrlEntId, "OLE.Cancel", Yes$)=20 end=20 // NOTE: This is just for example purposes. The better approach=20 // would be to use the ApptLocked property.
BeforeApptDrop,&= nbsp;AfterApptDrop,&= nbsp;Cancel, CancelApptDrag