|
-
Apr 22nd, 2002, 08:33 PM
#1
Thread Starter
Member
Basic MS-Word Functionality - Very Important
How do I implement Cut, Copy & Paste options, for a textbox, making sure that it can handle text, pictures and a combination of both as well...
I did my best to come up with a way to do it, I even tried a little on my own, and it kinda worked, but I'm still in need for your help...
Thank you very much.
-
Apr 22nd, 2002, 08:47 PM
#2
Thread Starter
Member
*Surprized*
I thought this was darm easy, but still no reply!!!
Anyone out there knows how it's done?
-
Apr 22nd, 2002, 10:01 PM
#3
Thread Starter
Member
I'm using a richTextBox now, would that make it easier to implement?
thx in advance
-
Apr 22nd, 2002, 10:47 PM
#4
Frenzied Member
Windows provides you with those functions automatically:
VB Code:
'cut:
RichTextBox1.SetFocus
SendKeys "^x"
'copy:
RichTextBox1.SetFocus
SendKeys "^c"
'paste:
RichTextBox1.SetFocus
SendKeys "^v"
You just proved that sig advertisements work.
-
Apr 23rd, 2002, 04:56 AM
#5
Thread Starter
Member
Thx
Thx a bunch pal, that was really helpful 
Robbie
-
Apr 23rd, 2002, 05:25 AM
#6
u can also use
Clipboard.GetText
Clipboard.SetText
-
Apr 24th, 2002, 12:02 AM
#7
For data with graphics I think you need to use
VB Code:
Clipboard.GetData
Clipboard.SetData
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|