Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > How to prevent copying and dragging items on a planner

Forum

Search UsersRules
How to prevent copying and dragging items on a planner
#1
Active user
Points:: 0
Joined:: Jul 28, 2015

Hi everyone;

I want to hinder to carry and copy planner item on planner. I mean user shouldn't carry and copy of item on planner? How can I do that?

Profile
#2
Active user
Points:: 0
Joined:: Jul 28, 2015

İmages had been added but it was deleted from site. I add again.

I want to user can't drag and drop item on planner and user shouldn't copy item via drag and drop.

Profile
#3
Guest
Points::
Joined::

Thank you for attaching images, Mehmet Tuğrul SARIÇİÇEK.

To prevent users from dragging you can use following:
For Planner form item set the WarningOnEditRepresentation property to Show.
And add an event handlers for BeforeDelete and PlannerOnEditEnd events:

Code
&AtClient
Procedure PlannerOnEditEnd(Item, NewItem, CancelEdit)
      
   CancelEdit = True;
   
EndProcedure

&AtClient
Procedure PlannerBeforeDelete(Item, Cancel)
   
   Cancel = True;
   
EndProcedure

Profile
#4
Active user
Points:: 0
Joined:: Jul 28, 2015

Thank you Timofey Bugaevsky,

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.