A
Aphazel
I got serveral textboxes in a form and want to copy/cut/paste text to
clipboard from currently selected (focused) textbox.
It's simple to cut/copy/paste when using specified control directly ie
Me.TextBox1.Cut()
But there's no .Cut() function when i try to use Me.ActiveControl. Is the a
way to access textbox'es .Cut() via ActiveControl knowing that it's a
textbox object?
I also tried an other way:
Clipboard.SetText(Me.ActiveControl.Text)
and
Clipoboard.SetText(Me.ActiveControl.Text.ToString())
but it produces errors.
Does anyone knows a solution?
Thx, Aph
clipboard from currently selected (focused) textbox.
It's simple to cut/copy/paste when using specified control directly ie
Me.TextBox1.Cut()
But there's no .Cut() function when i try to use Me.ActiveControl. Is the a
way to access textbox'es .Cut() via ActiveControl knowing that it's a
textbox object?
I also tried an other way:
Clipboard.SetText(Me.ActiveControl.Text)
and
Clipoboard.SetText(Me.ActiveControl.Text.ToString())
but it produces errors.
Does anyone knows a solution?
Thx, Aph