I am trying to find a way to run a .DLL after a user changes their displayed part.
I tried using the User Exit, USER_CDISP, but that runs prior to the display part changing so my code is no good there. My code needs to change the new displayed part.
I tried looking for the command in the menuscript but I don't believe the right-click + Make Displayed Part is in there. If I could find that, I would do an ACTION/POST and that should get the job done.
Good morning. Assuming that you are also changing the work part when you change the display part, you can register a callback using UF_add_callback_function(), with a reason specified as "UF_change_work_part_reason".