How to create a button that will activate a drop-down menu when clicked?


I would like to create a button that will make a drop-down menu similar to the "Align Documents" button in the original application.(I will add a screenshot)

I know that to create a normal button you have to use "Action" and "ActionLayout" class attributes, but are there any for this drop-down option that I am looking for?

If there is no way to do it, do you have any suggestions in how to achieve this?


                                                                                                                    Screenshot of Trados Studio showing the 'Align Documents' drop-down menu with options 'Align Single File Pair', 'Align Multiple Files', and 'Open Alignment' with corresponding keyboard shortcuts.

Generated Image Alt-Text
[edited by: Trados AI at 10:50 AM (GMT 0) on 4 Mar 2024]