Hello,
I would like to simulate pressing CTRL + C on double click, and copy the contents selected on the dg in the clip-board,
thank you
shortcut command
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: shortcut command
Hi.
As a quick test, make a datagrid with several line of data in it, and a button. Place this in the button script:
Hilite a line in the DG, and then click the button.
Now this only returns the line number that was selected, but you can substitute any other property of the DG that you need.
Craig Newman
As a quick test, make a datagrid with several line of data in it, and a button. Place this in the button script:
Code: Select all
on mouseDoubleUp
get the dgHilitedLines of grp 1
end mouseDoubleUp
Hilite a line in the DG, and then click the button.
Now this only returns the line number that was selected, but you can substitute any other property of the DG that you need.
Craig Newman