Results 1 to 5 of 5

Thread: Rich Text - How can I make Text not happen?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Sep 2001
    Location
    UK
    Posts
    92

    Question Rich Text - How can I make Text not happen?

    Hi all,

    Likely to be an easy one this!!

    I am using a rich text control to allow shortcuts to be dragged and dropped onto the window.

    However, I don't want it to allow text to be written (just the shortcuts). I can't use the "Enabled" properties, as this would stop the shortcuts also.

    I think I can put something in the KeyPress event to stop it, but not sure what? I can put a message box in there, and it is displayed before the text, but then it prints the text anyway.

    Can anyone tell me how I stop text from being written in please?

    Many thanks in advance!

    Paul.
    Paul

  2. #2

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Sep 2001
    Location
    UK
    Posts
    92

    The gun was empty....

    Thanks for the reply Wokawidget, but unfortunately this also prevents you from dragging shortcuts into the window.

    Any other ideas?

    Cheers!

    Paul.
    Paul

  4. #4

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Sep 2001
    Location
    UK
    Posts
    92

    Sorted!!

    That works a treat. Thanks very much Wokawidget

    Cheers!

    Paul.
    Paul

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