J
John
Hi
How can I implement cut or copy or paste in code?
Thanks
Regards
How can I implement cut or copy or paste in code?
Thanks
Regards
John said:How can I implement cut or copy or paste in code?
John said:Whatever test the user has selected at the time (it is a database
app). I would not know which field it would be beforehand.
* "John said:How can I implement cut or copy or paste in code?
Armin Zingler said:You can get the active Form using Form.ActiveForm or ActiveMdiChild
in an Mdi container. The ActiveControl returns the active control,
and depending on the type of the active control you can copy the
selected text or whatever. For example, if the active control is a
Datagrid, you can copy the selected text of the active cell.
In all Forms I'd probably implement an Interface that handles the
clipboard features for the Form.
* "John said:when I right click in a text field it gives me the cut/copy/paste context
menu. cannot I tap into this built-in functionality?
Herfried K. Wagner said:Please be more specific. What exactly do you want to do for which
type(s) of control(s)?