Link to home
Start Free TrialLog in
Avatar of msa2003
msa2003

asked on

How to prevent the user from resizing DIBs in TRxRichEdit?

Please view the PAQ question https://www.experts-exchange.com/questions/21205364/How-to-prevent-the-user-from-editing-COM-objects-in-TRxRichEdit.htmlĀ to see the problem details. Shortly, I am trying to create a chat client with graphic emoticons using TRxRichEdit Delphi component and DIB emoticons. Everything works fine enough but the user can resize emoticon images simply dragging their borders. How to prevent the user from this?

Many thanks
msa
ASKER CERTIFIED SOLUTION
Avatar of Newt6398
Newt6398

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of msa2003
msa2003

ASKER

New6398: Thank you but I need the user to interact with the text in the Rich Edit, I just want to prevent the user from resizing embedded images.
Try the

OleFormObject.OnResize method.

Dunno how you'll implement it. Good luck
Avatar of msa2003

ASKER

There is no one acceptable answer so I give grade C to Newt6398. I'm sorry.