none
RichTextbox???? RRS feed

  • Question

  • Hello,

    have something funny going on... I have two forms, both with richtextboxes on them.  On one form I cannot copy and paste, but on the other form I can.  

    What am I missing?

    Tuesday, March 14, 2017 2:19 PM

All replies

  • Hi

    Possibly the properties of each RTB are different in some way. To check this, just delete the RTB that you can't copy/paste from and copy/paste the good one to replace the one deleted and try running with that - maybe both will act the same.


    Regards Les, Livingston, Scotland

    Tuesday, March 14, 2017 3:10 PM
  • Did this and it worked. so let me to think about the form properties. The main form is a mdi app and the only real difference I see here is the mdi form uses a MainMenuStrip, that should not negate the basic shortcut keys?
    Tuesday, March 14, 2017 6:11 PM
  • there is nothing funny. It is normal. A form is not an executable and only the active form gets messages from the system. 

    Therefore is always written here to avoid it and use tabpages instead (or modal forms)


    Success
    Cor


    Tuesday, March 14, 2017 6:51 PM