Could you help me please, I need to prevent copy/paste, is there easy way, other than create KeyDown handler in UEditableTextBox, and check for a key combination?
I mean like this:
FReply UEditableTextBox::OnKeyDown(const FGeometry& MyGeometry, const FKeyEvent& KeyEvent)
{
if (KeyEvent.GetKey() == EKeys::C && KeyEvent.IsControlDown())
{
return FReply::Handled();
}
if (KeyEvent.GetKey() == EKeys::V && KeyEvent.IsControlDown())
{
return FReply::Handled();
}
return FReply::Unhandled();
}
It works, but I’m trying to avoid engine changes