I want the user to either add a COMPANY or CONTACT PERSON, I can do this with 2 buttons :
- Code: Select all Expand view RUN
DEFINE BUTTON oButton1 OF oButton_Bar PROMPT "Add1" ACTION add_COMPANY() TOOLTIP "Add a new COMPANY"
DEFINE BUTTON oButton2 OF oButton_Bar PROMPT "Add2" ACTION add_CONTACT() TOOLTIP "Add a new CONTACT PERSON"
...but it would be slicker if the user could click the 'Add' button and then get a choice of 'Add Company' or 'Add Contact' (Like you can do with MENUITEM)