>>>what about the Edit option on the system menu bar? can you not take advantage of the cut/copy/paste functionality of it in your app? or do you totally replace the system menu bar with your own?
>>
>>
>>Mark, I'm already using the edit option in my app's menu, with cut-copy-paste-clear options in it, I even created a right click shortcut menu with these options as well; the thing is that my client REALLY (??) wishes to see those buttons in the form when the editing mode is activated (I use an activate-deactivate feature on the grid), so that's why I need some routine that reads selected text, copies it to the clipboard, blah, blah...
>>
>>Thanks,
>
>Assuming that edit menu is available, could you add commandbutton with one line in Click event, e.g.:
>keyboard '{CTRL+C}'
ButtonCopy.ClicK()
_CLIPTEXT=MyText
PasteButton.Click()
MyText = _CLIPTEXT
*************
_CLIPTEXT is the variable to get or set text in the clipboard under VFP...
:0)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca