RichTextBox
-
Is there a way to turn on the standard context menu for a RichTextBox. (Copy/Cut/Paste/etc) It shows up by default in a standard TextBox. Thanks, -Luther
-
Is there a way to turn on the standard context menu for a RichTextBox. (Copy/Cut/Paste/etc) It shows up by default in a standard TextBox. Thanks, -Luther
There isn't one. It's not hard to provide, though - just create a
ContextMenu
with those menu items. TheRichTextBox
(inherited fromTextBoxBase
) already has methods forCut
,Copy
, andPaste
.-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----
-
There isn't one. It's not hard to provide, though - just create a
ContextMenu
with those menu items. TheRichTextBox
(inherited fromTextBoxBase
) already has methods forCut
,Copy
, andPaste
.-----BEGIN GEEK CODE BLOCK----- Version: 3.21 GCS/G/MU d- s: a- C++++ UL@ P++(+++) L+(--) E--- W+++ N++ o+ K? w++++ O- M(+) V? PS-- PE Y++ PGP++ t++@ 5 X+++ R+@ tv+ b(-)>b++ DI++++ D+ G e++>+++ h---* r+++ y+++ -----END GEEK CODE BLOCK-----
Sounds easy enough. Thanks, -Luther