I am generally satisified with functionality of TEditCut
, TEditCopy
, TEditPaste
and TEditSelectAll
except they don't work on any controls which are not standard.
For example, they may work fine on TEdit
or TMemo
controls, but not on TEmbeddedWB
— with it, standard actions are always disabled regardless of whether text is selected, even though TEmbeddedWB
has methods like CopyToClipboard
and SelectAll
.
How can I make standard actions work with TEmbeddedWB
? How do standard actions determine whether they should be enabled or disabled (and in what event they do it — is it in the OnUpdate
event)? Can I extend standard actions to add support for unrecognized components, or do I need to write their replacement?