This doesn't seem to be working for me in my application.
Can this be done??
Thanks
If you select text in an edit table you can use the standard windows keys (Cntr-C/X/V) to copy/cut and paste. However, if you select the text and attempt to use the menu options for these functions it doesn't work. I've been trying to find a way to 'send' the windows keystrokes, but I haven't had any luck.
Jeff
Bruce and Jeff,
In an edit table the text must be highlighted first in order to do a cut, copy or paste. When the cell is selected the text is not at this point highlighted, you must press the F2 key to highlight the text. When the cell is in this state you can cut, copy or paste.
As far as doing this from a menu option, take a look at the text property in the online help and check out 'CLIPBOARD'. You can access the windows clipboard to copy and paste things to and from it.
Good Luck…
Blaise
Bruce-
Go to the Knowledgebase, and serach on EditCell.
It has most of what you want, I think.
Mike
Blaise,
Thanks, now from a users standpoint I enter an itemid, the form read and fills in an edittable that has two columns. Now I want to take my mouse and highlight the whole table or a column and use copy,paste. Can this be done swiftly? Clicking on a column heading, click and drag, click on coord. 0,0, for example?
Bruce
Bruce,
Yes it can be done and it helps if you have a Windows SDK! Look at the STYLE property. You can set an edit table's style to allow multi-row and multi-column selection among other things.
I am not 100% sure, but for multi-column selection you might have to destroy ( using the Utility function) the table and re-create it with the new style (on CREATE for example).
Setting the multi-row style on the other hand works like a charm without the need for drastic (Destroy) measures.
Also look under the POPUP_SUB procedure for how the STYLE property, DESTROY, and CREATE are being used.
You might also want to consider some old-fashioned buttons on the side of the table that say "Copy entire table", "Copy column x " or something to that effect. It might be easier…
Hope this helps!
Jeff,
If you select text in an edit table you can use the standard windows keys (Cntr-C/X/V) to copy/cut and paste. However, if you select the text and attempt to use the menu options for these functions it doesn't work.
This is a bug. We hope to fix it for the next release.
Cameron Purdy
info@revelation.com
Thanks I'll look into it!