I would dearly love to see the good old MESSAGEBOX function extended to allow user to specify their own values for BUTTON and ICON. This is the standard prototype for MessageBox:
Message (title, text, icon, button, default)
I see this working with a new standard enumerated icon of "custom!", which means a following parameter must be the string name of the bitmap to be used as the icon.
Message (title, text, CUSTOM!, "ROCKETSHIP.BMP!", button, default)
I see the same thing for the BUTTON parameter. Either the user passes a standard enumerated button or a new enumerated value of "custom!", and a following comma-separated string indicates the button text to be used and the number of options presented.
Message (title, text, icon, "CUSTOM!", "RECALCULATE, SAVE, RESTORE, COMMIT", default)
The number of comma separated string values is the number of button options to present.
The order in which the options are listed in the string parameter are their associated numeric values: 1, 2, 3...
Thanks.
Olan
Yes, I use a standard "Response" type Window class.
Interesting, I never tested the POSTed events / functions around this - but, never had any issues with that happening in the over three decades that I have been using my MB Class framework window. Including within PowerServer since 2008.
Regards ... Chris
FYI: https://community.appeon.com/index.php/qna/q-a/posted-events-are-called-on-open-of-reponse-window