Hi 默认情况下,复制和粘贴后的粘贴位置是表单的中心,然后在第二次粘贴后,控件放置到第一个粘贴对象。 是否可以在自定义设计界面中更改此行为? 我会喜欢有以下内容: 第一个粘贴的对象应该放置一个小的偏移量到复制的对象(不在表单的中心)? 这可能吗? 这怎么可能? 预先感谢您的帮助 2张照片可以更好地显示我想要的内容: WhatItIs [ ^ ] WhatIWant [ ^ ]
解决方案您可以使用jquery ot Java Script来完成。 您可以在jquery中定义一个方法
( #target)。paste(function(){ // 您的业务逻辑,如Offset和所有 });
Hi By Default the "paste position" after copy&paste is the center of the form and then after the 2nd paste the control gets placed with a little offset to the first pasted object. Is it possible to change that behaviour in my custom design surface? I would like to have the following: The first pasted object should be placed with the small offset to the copied one (not in the center of the form)? Is this possible? And how is this possible? Thanks in advance for your help 2 pics to better show what I would like to have: WhatItIs[^] WhatIWant[^]
解决方案 Hi, You can do it by using jquery ot Java Script. You can define a method in jquery as ("#target").paste(function() { // Your Business logic like Offset and all });更多推荐
更改复制粘贴位置
发布评论