Hello Community,
ist there a way to react in a VBA-Userform if an object is selectd in the document.
I want to read a few field from Objectdata and show these in a textbox.
Thanks in advance!
Yes there is a SelectionChange Event. You can find an example of how to use it in a docker here. Custom Dockers in CorelDRAW, Corel DESIGNER and Corel PHOTO-PAINT
You will also see a list of other events:
If you want an example of how to do this with a UserForm you may watch the following video:Selection change event, update size in textbox in a custom macro in CorelDraw, tutorial.
Hope that helps,
-Shelby
Thank you Shelby,