Results 1 to 7 of 7

Thread: Basic MS-Word Functionality - Very Important

  1. #1

    Thread Starter
    Member visual poet's Avatar
    Join Date
    Apr 2002
    Location
    In the driver seat of my Firebird...
    Posts
    52

    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.

  2. #2

    Thread Starter
    Member visual poet's Avatar
    Join Date
    Apr 2002
    Location
    In the driver seat of my Firebird...
    Posts
    52

    *Surprized*

    I thought this was darm easy, but still no reply!!!

    Anyone out there knows how it's done?

  3. #3

    Thread Starter
    Member visual poet's Avatar
    Join Date
    Apr 2002
    Location
    In the driver seat of my Firebird...
    Posts
    52
    I'm using a richTextBox now, would that make it easier to implement?

    thx in advance

  4. #4
    Frenzied Member nishantp's Avatar
    Join Date
    Jan 2001
    Location
    Where you least expect me to be
    Posts
    1,375
    Windows provides you with those functions automatically:
    VB Code:
    1. 'cut:
    2.     RichTextBox1.SetFocus
    3.     SendKeys "^x"
    4.    
    5.     'copy:
    6.     RichTextBox1.SetFocus
    7.     SendKeys "^c"
    8.    
    9.     'paste:
    10.     RichTextBox1.SetFocus
    11.     SendKeys "^v"
    You just proved that sig advertisements work.

  5. #5

    Thread Starter
    Member visual poet's Avatar
    Join Date
    Apr 2002
    Location
    In the driver seat of my Firebird...
    Posts
    52

    Thx

    Thx a bunch pal, that was really helpful

    Robbie

  6. #6
    khalik
    Guest
    u can also use

    Clipboard.GetText
    Clipboard.SetText

  7. #7
    WorkHorse
    Guest
    For data with graphics I think you need to use

    VB Code:
    1. Clipboard.GetData
    2. 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
  •  



Click Here to Expand Forum to Full Width