我如何复制所选行的内容

时间:2015-05-25 12:29:38

标签: livecode

如何连续复制所选内容。在下面的代码的帮助下,我得到了行的行号。但我不知道要复制特定行的内容

 new Ajax.Request(submitUrl, {
        method    : 'post',
        parameters: {},
        evalScripts: true,  //THIS IS IMPORTANT TO RUN YOUR CHILD WINDOW SCRIPT
        onComplete: function (transport) { }
});

1 个答案:

答案 0 :(得分:0)

设置全局clipboarddata属性以设置剪贴板:

on mouseUp
   put the dgHilitedLines of group "data" into myLine
   set the clipboarddata["text"] to line myLine of the dgText \
     of grp "data"
end mouseUp