VBA for creating rollover button

Does anyone know what the VBA code would be for converting an object to a rollover button that will later be used as an action button in the exported PDF? I am able to manually select an object, go to Object menu: Rollover: Create Rollover, without any problem. Rollover button created. But when I try to record a macro of the process so that I can see what the code would look like, CorelDraw crashes - every time. I've tried it with CD 2021 and CD 2023 with the same result - crash.

  • I don't see much support for Rollover. I only see:

    SelectionInfo.ContainsRollOverParent
    SelectionInfo.IsEditingRollOver
    SelectionInfo.IsRollOverSelected

    So I don't think it is currently possible. 

    I was able to reproduce the crash if you try recording. I will get that logged.

    -Shelby