Vote UpVote

Adding a Standard Context Popup Menu to a SynEdit

The Road to Delphi – When you uses an Edit control like a TMemo or TEdit component a context menu pops up with options to undo, copy, paste, select all, etc. Unfortunally the TSynEdit component doesn’t include a menu like this, so you must write you own. You can fix this in a few lines of code using a interposer class. Check this unit which implements a standard context menu for a TSynEdit component, based on a TActionList (only be sure to include the uSynEditPopupEdit unit after of the SynEdit unit in your uses list). unit uSynEditPopupEdit; interface uses ActnList, Menus, Classes, SynEdit; type ...
Favorite? Off-Topic? Rodrigo @ 2011-12-08 04:06


Visits: 666
Votes: 4
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Jørn E. Angeltveit
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)